From 985b4072c05bf2a844f9537ed00ff77ab0470dda Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 25 Oct 2016 16:14:43 -0700 Subject: [PATCH] message_edit: Show a success message briefly. --- static/js/message_edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/message_edit.js b/static/js/message_edit.js index fdf1a0f64d..9ef78f76d5 100644 --- a/static/js/message_edit.js +++ b/static/js/message_edit.js @@ -98,7 +98,7 @@ exports.save = function (row, from_topic_edited_only) { data: request, success: function (data) { if (msg_list === current_msg_list) { - return true; + row.find(".edit_error").text("Message successfully edited!").removeClass("alert-error").addClass("alert-success").show(); } }, error: function (xhr, error_type, xhn) {