diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-15 09:37:26 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-15 09:37:26 -0700 |
commit | c84e091f2a55d12889e6ad4cb3a94017035fd881 (patch) | |
tree | fef43584cc421475674e2aa2d1cf95f46dbabe7b /web/react/components/create_comment.jsx | |
parent | b7a821c3410ecd165241e2dbcf2c8376ae402124 (diff) | |
download | chat-c84e091f2a55d12889e6ad4cb3a94017035fd881.tar.gz chat-c84e091f2a55d12889e6ad4cb3a94017035fd881.tar.bz2 chat-c84e091f2a55d12889e6ad4cb3a94017035fd881.zip |
Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay.
Diffstat (limited to 'web/react/components/create_comment.jsx')
-rw-r--r-- | web/react/components/create_comment.jsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx index 3534c7573..0b8eb4a07 100644 --- a/web/react/components/create_comment.jsx +++ b/web/react/components/create_comment.jsx @@ -55,9 +55,6 @@ module.exports = React.createClass({ }.bind(this), function(err) { - var state = {} - state.server_error = err.message; - this.setState(state); if (err.message === "Invalid RootId parameter") { if ($('#post_deleted').length > 0) $('#post_deleted').modal('show'); } |