diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
commit | c890e21cefe135a74a4a7235b704e7af95decc5c (patch) | |
tree | 46625abd1f88a70e4c5774ac37bdd7d10e899768 /web/react/components/admin_console/log_settings.jsx | |
parent | bd2fec0fb16783049ec555d8015f49a0ed3ccf80 (diff) | |
parent | 8d630fc3ee6a06b8daeb117a9e166c5dfba55a52 (diff) | |
download | chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.gz chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.bz2 chat-c890e21cefe135a74a4a7235b704e7af95decc5c.zip |
Merge pull request #1075 from mattermost/plt-577
PLT-577 Upgrading dependencies.
Diffstat (limited to 'web/react/components/admin_console/log_settings.jsx')
-rw-r--r-- | web/react/components/admin_console/log_settings.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/react/components/admin_console/log_settings.jsx b/web/react/components/admin_console/log_settings.jsx index 367605f14..931818bb8 100644 --- a/web/react/components/admin_console/log_settings.jsx +++ b/web/react/components/admin_console/log_settings.jsx @@ -46,12 +46,12 @@ export default class LogSettings extends React.Component { $('#save-button').button('loading'); var config = this.props.config; - config.LogSettings.EnableConsole = React.findDOMNode(this.refs.consoleEnable).checked; - config.LogSettings.ConsoleLevel = React.findDOMNode(this.refs.consoleLevel).value; - config.LogSettings.EnableFile = React.findDOMNode(this.refs.fileEnable).checked; - config.LogSettings.FileLevel = React.findDOMNode(this.refs.fileLevel).value; - config.LogSettings.FileLocation = React.findDOMNode(this.refs.fileLocation).value.trim(); - config.LogSettings.FileFormat = React.findDOMNode(this.refs.fileFormat).value.trim(); + config.LogSettings.EnableConsole = ReactDOM.findDOMNode(this.refs.consoleEnable).checked; + config.LogSettings.ConsoleLevel = ReactDOM.findDOMNode(this.refs.consoleLevel).value; + config.LogSettings.EnableFile = ReactDOM.findDOMNode(this.refs.fileEnable).checked; + config.LogSettings.FileLevel = ReactDOM.findDOMNode(this.refs.fileLevel).value; + config.LogSettings.FileLocation = ReactDOM.findDOMNode(this.refs.fileLocation).value.trim(); + config.LogSettings.FileFormat = ReactDOM.findDOMNode(this.refs.fileFormat).value.trim(); Client.saveConfig( config, |