message_edit: Show a success message briefly.

This commit is contained in:
Tim Abbott 2016-10-25 16:14:43 -07:00
parent d14f276322
commit 985b4072c0
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ exports.save = function (row, from_topic_edited_only) {
data: request, data: request,
success: function (data) { success: function (data) {
if (msg_list === current_msg_list) { 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) { error: function (xhr, error_type, xhn) {