[Rt-commit] r20085 - rt/3.8/trunk/share/html/Dashboards
sartak at bestpractical.com
sartak at bestpractical.com
Wed Jul 1 19:03:22 EDT 2009
Author: sartak
Date: Wed Jul 1 19:03:22 2009
New Revision: 20085
Modified:
rt/3.8/trunk/share/html/Dashboards/Render.html
Log:
Check config for refresh interval
Modified: rt/3.8/trunk/share/html/Dashboards/Render.html
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Render.html (original)
+++ rt/3.8/trunk/share/html/Dashboards/Render.html Wed Jul 1 19:03:22 2009
@@ -49,7 +49,7 @@
Title => $title,
JavaScript => $Preview,
ShowBar => $Preview,
- Refresh => ($Preview ? $session{'home_refresh_interval'} : 0),
+ Refresh => $Refresh,
&>
% if ($Preview) {
@@ -123,6 +123,11 @@
);
};
+my $Refresh = $Preview
+ ? $session{'home_refresh_interval'}
+ || RT->Config->Get('HomePageRefreshInterval', $session{'CurrentUser'})
+ : 0;
+
</%INIT>
<%ARGS>
$id => undef
More information about the Rt-commit
mailing list