Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay.

This commit is contained in:
Reed Garmsen
2015-06-15 09:37:26 -07:00
parent c94883e0df
commit 5f4daf6e20
2 changed files with 1 additions and 4 deletions

View File

@@ -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');
}

View File

@@ -23,7 +23,7 @@ module.exports = React.createClass({
<p>Someone deleted the message on which you tried to post a comment.</p>
</div>
<div className="modal-footer">
<button type="button" className="btn btn-primary" data-dismiss="modal">Agree</button>
<button type="button" className="btn btn-primary" data-dismiss="modal">Okay</button>
</div>
</div>
</div>