summaryrefslogtreecommitdiffstats
path: root/web/react/components/create_comment.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-06-15 09:37:26 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-06-15 09:37:26 -0700
commit5f4daf6e20b0e6087ea9b0e985335d4602f52d45 (patch)
tree2b34f0a2cb092483497f50341967f99c5a884e11 /web/react/components/create_comment.jsx
parentc94883e0dfc0c7cbcf86a78f9134d1e3283a07cd (diff)
downloadchat-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.jsx3
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');
}