summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-12-15 04:10:52 +0100
committerByron Jones <glob@mozilla.com>2014-12-15 04:10:52 +0100
commit1935edeb9b514c087004904ea707821bc47a8ab9 (patch)
tree3e50e319323b980bddebc91d0b73fae76f19a88d /extensions/TrackingFlags
parent9addfeb1a4e9d68e19620e3c60ab4f9af7380c38 (diff)
downloadbugzilla-1935edeb9b514c087004904ea707821bc47a8ab9.tar.gz
bugzilla-1935edeb9b514c087004904ea707821bc47a8ab9.tar.xz
Bug 1105155: Indicate that an existing comment has been modified for tracking flags with prefill text
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/web/js/tracking_flags.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/TrackingFlags/web/js/tracking_flags.js b/extensions/TrackingFlags/web/js/tracking_flags.js
index 041ae43f5..b0bdb2ebd 100644
--- a/extensions/TrackingFlags/web/js/tracking_flags.js
+++ b/extensions/TrackingFlags/web/js/tracking_flags.js
@@ -79,8 +79,10 @@ function tracking_flag_change(e) {
return;
if (value == '') {
commentEl.value = prefill;
+ a.innerHTML = 'comment required';
} else {
commentEl.value = prefill + "\n\n" + value;
+ a.innerHTML = 'comment updated';
}
}