mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Invalid RootId parameter error message no longer displays on the client. Changed acceptance of error from Agree to Okay.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user