summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/components/create_comment.jsx3
-rw-r--r--web/react/components/post_deleted_modal.jsx2
2 files changed, 1 insertions, 4 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');
}
diff --git a/web/react/components/post_deleted_modal.jsx b/web/react/components/post_deleted_modal.jsx
index 307120df3..83b007bad 100644
--- a/web/react/components/post_deleted_modal.jsx
+++ b/web/react/components/post_deleted_modal.jsx
@@ -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>