Add a checkbox that propagates topic edits to subsequent messages.

Trac #1348

(imported from commit 28e2a8cb3ecda5ec50d17501f4ccbd8644212065)
This commit is contained in:
Kevin Mehall
2013-09-03 16:07:59 -04:00
parent 07d692758e
commit 19a835e7d5
6 changed files with 69 additions and 25 deletions

View File

@@ -14,6 +14,10 @@ exports.save = function (row) {
var new_topic = row.find(".message_edit_topic").val();
if (new_topic !== message.subject && new_topic.trim() !== "") {
request.subject = new_topic;
if (row.find(".message_edit_topic_propagate>input").is(":checked")) {
request.propagate_subject = true;
}
changed = true;
}
}