summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Fearn <jfearn@redhat.com>2022-08-05 09:39:32 +1000
committerJeff Fearn <jfearn@redhat.com>2022-08-05 09:48:20 +1000
commitdce804d90057a7132ff31b15278fc6a55aeba447 (patch)
treefe02a5f6bfcc1dfafcf23ec5305329dc0f98790d
parentBug 2114626 - Extend Group.get to provide full information to insiders (diff)
downloadbugzilla-dce804d90057a7132ff31b15278fc6a55aeba447.tar.gz
bugzilla-dce804d90057a7132ff31b15278fc6a55aeba447.tar.bz2
bugzilla-dce804d90057a7132ff31b15278fc6a55aeba447.zip
Bug 2086767 - Explain the changed check boxes on the bulk edit form
Added note to form and title text to checkboxes. Change-Id: Ia1d1553c19c14fec4c560d52f89b28a15a51518b
-rw-r--r--extensions/PlotlyReports/Extension.pm1
-rw-r--r--extensions/RedHat/web/js/redhat.js14
2 files changed, 15 insertions, 0 deletions
diff --git a/extensions/PlotlyReports/Extension.pm b/extensions/PlotlyReports/Extension.pm
index 6d5a2dd43..79bca2152 100644
--- a/extensions/PlotlyReports/Extension.pm
+++ b/extensions/PlotlyReports/Extension.pm
@@ -119,6 +119,7 @@ sub _bug_status_page {
$vars->{'date_from'} = $input->{'date_from'} // '';
$vars->{'date_to'} = $input->{'date_to'} // '';
$vars->{'interval_period'} = $input->{'interval_period'} // '';
+ $vars->{'interval_count'} = $input->{'interval_count'} // '';
$vars->{'group'} = $input->{'group'} // '';
$vars->{'by_group'} = $input->{'by_group'} // '';
$vars->{'show'} = $input->{'show'} // '';
diff --git a/extensions/RedHat/web/js/redhat.js b/extensions/RedHat/web/js/redhat.js
index ddb8b836a..9cbb01c3d 100644
--- a/extensions/RedHat/web/js/redhat.js
+++ b/extensions/RedHat/web/js/redhat.js
@@ -882,6 +882,7 @@ if (!alertify.editBugsBox) {
var cb = $('<input type="checkbox"></input>');
cb.attr("name", 'changed_' + field_name);
cb.attr("id", 'changed_' + field_name);
+ cb.attr("title", 'If this checkbox is not set then the ' + BB_FIELDS[field_name].display_name + ' field will not be changed regardless of the value in it.');
if(field_name === "classification") {
$(div).addClass("bz_default_hidden");
@@ -1046,6 +1047,19 @@ if (!alertify.editBugsBox) {
$(bug_form).append($(product_block));
$(bug_form).append($(other_block));
$(this.elements.content).append($(bug_form));
+ $(this.elements.content).append(
+`
+<hr>
+<p>
+ Beside most fields is a checkbox, if the field is set but the checkbox
+ is unset, then changes will not be made to that field.
+</p>
+<p>
+ If you change the value in a field then the checkbox will automatically check.
+ You can manually uncheck the checkbox to prevent the change being made.
+</p>
+`
+ );
},
prepare: function () {
// this runs every time a dialog is shown