summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-13 04:29:39 +0200
committerByron Jones <glob@mozilla.com>2015-05-13 04:29:39 +0200
commit0622523114252d26a5710684bfad7b5811173d66 (patch)
tree3167411366e99a6d91b3b2bd33048e6b0fd72f62 /extensions/BugModal/template/en
parent53af86d19c6e75e68e1822cd66b864e509f391d6 (diff)
downloadbugzilla-0622523114252d26a5710684bfad7b5811173d66.tar.gz
bugzilla-0622523114252d26a5710684bfad7b5811173d66.tar.xz
Bug 1163326: implement dirty select tracking in bug-modal to address firefox refresh issue
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/field.html.tmpl2
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl1
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/tracking_flags.html.tmpl1
3 files changed, 4 insertions, 0 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
index 9327069da..8317a059f 100644
--- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
@@ -157,6 +157,7 @@ END;
[% CASE constants.FIELD_TYPE_SINGLE_SELECT %]
[%# single value select %]
+ <input type="hidden" id="[% name FILTER html %]-dirty">
<select name="[% name FILTER html %]" id="[% name FILTER html %]">
[% IF values.defined %]
[% FOREACH v IN values %]
@@ -173,6 +174,7 @@ END;
[% CASE constants.FIELD_TYPE_MULTI_SELECT %]
[%# multi value select %]
+ <input type="hidden" id="[% name FILTER html %]-dirty">
<select name="[% name FILTER html %]" id="[% name FILTER html %]" multiple size="5">
[% IF values.defined %]
[%# not implemented %]
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
index 77e04b882..d86a8c8cf 100644
--- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
@@ -112,6 +112,7 @@
</td>
<td class="flag-value">
+ <input type="hidden" id="[% flag_id FILTER html %]-dirty">
<select id="[% flag_id FILTER html %]" name="[% flag_id FILTER html %]"
title="[% t.description FILTER html %]"
[% UNLESS (t.is_requestable && user.can_request_flag(t)) || user.can_set_flag(t) %]
diff --git a/extensions/BugModal/template/en/default/bug_modal/tracking_flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/tracking_flags.html.tmpl
index 5f22338cd..d6f7d6f89 100644
--- a/extensions/BugModal/template/en/default/bug_modal/tracking_flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/tracking_flags.html.tmpl
@@ -77,6 +77,7 @@
[% BLOCK tf_select %]
[% RETURN UNLESS flag %]
+ <input type="hidden" id="[% flag.name FILTER html %]-dirty">
<select id="[% flag.name FILTER html %]" name="[% flag.name FILTER html %]">
[%
flag_bug_value = flag.bug_flag(bug_id).value;