]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1182782 - Changing multiple bugs at once can fail if the dontchange text has...
authorSimon Green <mail@simon.green>
Wed, 19 Aug 2015 06:29:11 +0000 (02:29 -0400)
committerSimon Green <mail@simon.green>
Wed, 19 Aug 2015 06:29:11 +0000 (02:29 -0400)
r=dkl, a=simon

template/en/default/flag/list.html.tmpl

index 169cf8a51fedf975ddbe44d40b73029e31ae0e5e..778c3e142f66257af534c138943534494860feb8 100644 (file)
                 class="flag_select flag_type-[% type.id %]"
                 [% IF !can_edit_flag %] disabled="disabled"[% END %]>
         [%# Only display statuses the user is allowed to set. %]
-        [% IF edit_multiple_bugs %]
-          <option value="--do_not_change--">--do_not_change--</option>
+        [% IF edit_multiple_bugs && dontchange %]
+          <option value="[% dontchange FILTER html %]">[% dontchange FILTER html %]</option>
         [% END %]
         [% IF !flag || (can_edit_flag && user.can_request_flag(type)) || flag.setter_id == user.id %]
           <option value="X" label="X"></option>