[Rt-commit] rt branch 5.0/dashboard-subscription-empty-checkbox created. rt-5.0.3-77-ga32922f67c
BPS Git Server
git at git.bestpractical.com
Wed Aug 17 15:55:01 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/dashboard-subscription-empty-checkbox has been created
at a32922f67c118af1e5eb43a3697b850a9be83c4d (commit)
- Log -----------------------------------------------------------------
commit a32922f67c118af1e5eb43a3697b850a9be83c4d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Aug 17 10:51:10 2022 -0400
Restore the hidden magic value to allow unchecking
Without the magic value, the suppress value remains checked
even if you uncheck and save. This was accidentally removed as
part of the update to bootstrap.
diff --git a/share/html/Dashboards/Subscription.html b/share/html/Dashboards/Subscription.html
index e65c2c0a4d..5f9f14a02f 100644
--- a/share/html/Dashboards/Subscription.html
+++ b/share/html/Dashboards/Subscription.html
@@ -245,6 +245,7 @@
<div class="custom-control custom-checkbox">
<input type="checkbox" id="SuppressIfEmpty" name="SuppressIfEmpty" class="custom-control-input" value="1" <% $fields{'SuppressIfEmpty'} ? 'checked="checked"' : "" |n %>>
<label class="custom-control-label" for="SuppressIfEmpty"><&|/l&>Suppress if empty (Check this to avoid sending mail if all searches have no results)</&></label>
+ <input type="hidden"class="hidden" name="SuppressIfEmpty-Magic" value=1 />
</div>
</div>
</div>
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list