[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-51-g48f5c2a

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Oct 28 10:12:14 EDT 2009


The branch, 3.8-trunk has been updated
       via  48f5c2a31f889e7baf2d4f38555a73dc620a9a3a (commit)
      from  101490ac3f41069092318df77f48b2fb3df0d6b1 (commit)

Summary of changes:
 share/html/Dashboards/Queries.html |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 48f5c2a31f889e7baf2d4f38555a73dc620a9a3a
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Oct 28 22:11:52 2009 +0800

    better way to compare pane in @panes and @deleted in /Dashboards/Queries.html

diff --git a/share/html/Dashboards/Queries.html b/share/html/Dashboards/Queries.html
index 10d9cb8..1a1066b 100644
--- a/share/html/Dashboards/Queries.html
+++ b/share/html/Dashboards/Queries.html
@@ -67,8 +67,9 @@
 <input type="hidden" class="hidden" name="Privacy" value="<%$Dashboard->Privacy%>" />
 
 <&| /Widgets/TitleBox, title => $pane->{DisplayName} &>
+% my ( $pane_name ) = $pane->{Name} =~ /Searches-(.+)/;
     <& /Widgets/SelectionBox:show, self => $pane, nojs => 1, grep( {
-            lc loc($_->{pane}) eq lc $pane->{DisplayName} } @deleted ) ? ( ShowUpdate => 1 ) : () &>
+            $_->{pane} eq $pane_name} @deleted ) ? ( ShowUpdate => 1 ) : () &>
 </&>
 </form>
 </td></tr>

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


More information about the Rt-commit mailing list