[Rt-commit] rt branch, 4.0/remove-global-tablesorter, created. rt-4.0.0-181-g15d5998
Thomas Sibley
trs at bestpractical.com
Fri May 6 11:33:57 EDT 2011
The branch, 4.0/remove-global-tablesorter has been created
at 15d59983add70df50b8a5e0c225084d2521f4b65 (commit)
- Log -----------------------------------------------------------------
commit 15d59983add70df50b8a5e0c225084d2521f4b65
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri May 6 11:32:55 2011 -0400
Move the jQuery tablesorter plugin to the only place we use it
This cuts down on our JS by 16kB for most pages.
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 60e951b..ae4ac42 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -856,7 +856,6 @@ Set(@JSFiles, qw/
jquery-1.4.2.min.js
jquery_noconflict.js
jquery-ui-1.8.4.custom.min.js
- jquery.tablesorter.min.js
jquery-ui-patch-datepicker.js
ui.timepickr.js
titlebox-state.js
diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index 4c59b20..62c1514 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -53,6 +53,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
</%init>
<& /Admin/Elements/Header, Title => $title &>
<& /Elements/Tabs &>
+<script type="text/javascript" src="<%RT->Config->Get('WebPath')%>/NoAuth/js/jquery.tablesorter.min.js"></script>
<&|/Widgets/TitleBox, title => loc('SQL Queries') &>
% my $history = $RT::Handle->QueryHistory;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list