From e56d21a9208209d515b645f95d293eae51f51f8d Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Fri, 30 Oct 2015 16:33:51 -0400
Subject: Added a confirmation dialog for unsaved theme changes and removed
 unnecessary dialog close handling

---
 .../components/user_settings/user_settings_advanced.jsx     | 13 -------------
 1 file changed, 13 deletions(-)

(limited to 'web/react/components/user_settings/user_settings_advanced.jsx')

diff --git a/web/react/components/user_settings/user_settings_advanced.jsx b/web/react/components/user_settings/user_settings_advanced.jsx
index 910444735..8d91d264a 100644
--- a/web/react/components/user_settings/user_settings_advanced.jsx
+++ b/web/react/components/user_settings/user_settings_advanced.jsx
@@ -13,7 +13,6 @@ export default class AdvancedSettingsDisplay extends React.Component {
 
         this.updateSection = this.updateSection.bind(this);
         this.updateSetting = this.updateSetting.bind(this);
-        this.handleClose = this.handleClose.bind(this);
         this.setupInitialState = this.setupInitialState.bind(this);
 
         this.state = this.setupInitialState();
@@ -59,18 +58,6 @@ export default class AdvancedSettingsDisplay extends React.Component {
         this.props.updateSection(section);
     }
 
-    handleClose() {
-        this.updateSection('');
-    }
-
-    componentDidMount() {
-        $('#user_settings').on('hidden.bs.modal', this.handleClose);
-    }
-
-    componentWillUnmount() {
-        $('#user_settings').off('hidden.bs.modal', this.handleClose);
-    }
-
     render() {
         const serverError = this.state.serverError || null;
         let ctrlSendSection;
-- 
cgit v1.2.3-1-g7c22

