From 5f4daf6e20b0e6087ea9b0e985335d4602f52d45 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 15 Jun 2015 09:37:26 -0700 Subject: Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay. --- web/react/components/create_comment.jsx | 3 --- 1 file changed, 3 deletions(-) (limited to 'web/react/components/create_comment.jsx') 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'); } -- cgit v1.2.3-1-g7c22