projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.14 (#13852)
[freeside.git]
/
rt
/
share
/
html
/
Prefs
/
Quicksearch.html
diff --git
a/rt/share/html/Prefs/Quicksearch.html
b/rt/share/html/Prefs/Quicksearch.html
index
2642aa5
..
920d457
100644
(file)
--- a/
rt/share/html/Prefs/Quicksearch.html
+++ b/
rt/share/html/Prefs/Quicksearch.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
7
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-53,14
+53,15
@@
<form method="post" action="Quicksearch.html" name="Preferences">
<ul>
% for my $queue (@queues) {
<form method="post" action="Quicksearch.html" name="Preferences">
<ul>
% for my $queue (@queues) {
-<li><input type="checkbox" class="checkbox" name="Want-<%$queue->Name%>" value="1"
+<li><input type="checkbox" class="checkbox"
id="Want-<%$queue->Name%>"
name="Want-<%$queue->Name%>" value="1"
% unless ($unwanted->{$queue->Name}) {
checked="checked"
% }
% unless ($unwanted->{$queue->Name}) {
checked="checked"
% }
-/><%$queue->Name%><% $queue->Description ? ': '.$queue->Description : '' %></li>
+/>
+<label for="Want-<%$queue->Name%>"><%$queue->Name%><% $queue->Description ? ': '.$queue->Description : '' %></label>
+</li>
% }
</ul>
% }
</ul>
-
<& /Elements/Submit,
Caption => loc("Save Changes"),
Label => loc('Save'),
<& /Elements/Submit,
Caption => loc("Save Changes"),
Label => loc('Save'),
@@
-94,10
+95,10
@@
my @queues = grep { $right ? $_->CurrentUserHasRight($right) : 1 } @{$Queues->It
if ($ARGS{'Save'}) {
for my $queue (@queues) {
if ($ARGS{"Want-".$queue->Name}) {
if ($ARGS{'Save'}) {
for my $queue (@queues) {
if ($ARGS{"Want-".$queue->Name}) {
- delete $unwanted->{$queue->Name};
- }
+
delete $unwanted->{$queue->Name};
+
}
else {
else {
- ++$unwanted->{$queue->Name};
+
++$unwanted->{$queue->Name};
}
}
}
}