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 | 5f4daf6e20b0e6087ea9b0e985335d4602f52d45 (patch) | |
tree | 2b34f0a2cb092483497f50341967f99c5a884e11 /web/react/components/create_comment.jsx | |
parent | c94883e0dfc0c7cbcf86a78f9134d1e3283a07cd (diff) | |
download | chat-5f4daf6e20b0e6087ea9b0e985335d4602f52d45.tar.gz chat-5f4daf6e20b0e6087ea9b0e985335d4602f52d45.tar.bz2 chat-5f4daf6e20b0e6087ea9b0e985335d4602f52d45.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'); } |