[Rt-commit] rt branch, 4.0/check-uncheck-all-quicksearch-prefs, created. rt-4.0.11rc1-23-gc2120cc

Thomas Sibley trs at bestpractical.com
Wed Apr 3 15:25:11 EDT 2013


The branch, 4.0/check-uncheck-all-quicksearch-prefs has been created
        at  c2120ccbecf734475fc3a142554a6636fdcd6e5f (commit)

- Log -----------------------------------------------------------------
commit c2120ccbecf734475fc3a142554a6636fdcd6e5f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Apr 3 12:05:10 2013 -0700

    Add Check/Clear All and Reset buttons for the Quick Search (queue list) preferences
    
    Very helpful when the list of queues is long.

diff --git a/share/html/Prefs/Quicksearch.html b/share/html/Prefs/Quicksearch.html
index 93b026f..cb4292a 100644
--- a/share/html/Prefs/Quicksearch.html
+++ b/share/html/Prefs/Quicksearch.html
@@ -60,7 +60,16 @@ checked="checked"
 /><%$queue->Name%><% $queue->Description ? ': '.$queue->Description : '' %></li>
 % }
 </ul>
-<& /Elements/Submit, Caption => loc("Save Changes"), Label => loc('Save'), Name => 'Save'&>
+
+<& /Elements/Submit,
+    Caption             => loc("Save Changes"),
+    Label               => loc('Save'),
+    Name                => 'Save',
+    Reset               => 1,
+    CheckAll            => 1,
+    ClearAll            => 1,
+    CheckboxNameRegex   => '/^Want-/',
+    &>
 
 </form>
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list