[Rt-commit] r20081 - rt/3.8/trunk/share/html

ruz at bestpractical.com ruz at bestpractical.com
Wed Jul 1 18:48:25 EDT 2009


Author: ruz
Date: Wed Jul  1 18:48:25 2009
New Revision: 20081

Modified:
   rt/3.8/trunk/share/html/autohandler
   rt/3.8/trunk/share/html/index.html

Log:
* move handling of HomeRefreshInterval from index.html to autohandler

Modified: rt/3.8/trunk/share/html/autohandler
==============================================================================
--- rt/3.8/trunk/share/html/autohandler	(original)
+++ rt/3.8/trunk/share/html/autohandler	Wed Jul  1 18:48:25 2009
@@ -284,6 +284,12 @@
     }
 }
 
+# now it applies not only to home page, but any dashboard
+# that can be used as a workspace
+if ( $ARGS{'HomeRefreshInterval'} ) {
+    $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'};
+}
+
 # we've got credentials, let's serve the file up.
 # Process per-page global callbacks
 $m->callback( %ARGS );

Modified: rt/3.8/trunk/share/html/index.html
==============================================================================
--- rt/3.8/trunk/share/html/index.html	(original)
+++ rt/3.8/trunk/share/html/index.html	Wed Jul  1 18:48:25 2009
@@ -126,10 +126,6 @@
     RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Search/Simple.html?q=".$m->interp->apply_escapes($ARGS{q}));
 }
 
-if ($ARGS{'HomeRefreshInterval'}) {
-	$session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'};
-}
-
 my $actions;
 if ($session{'CurrentUser'}->HasRight(Right => 'ModifySelf', Object => $RT::System)) {
     $actions = {


More information about the Rt-commit mailing list