[freeside-commits] freeside/rt/share/html/Elements RefreshHomepage, 1.1.1.1, 1.2
Ivan,,,
ivan at wavetail.420.am
Fri Jul 23 15:09:32 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv25673/share/html/Elements
Modified Files:
RefreshHomepage
Log Message:
fix rt/rt links moving custom fields up/down and refreshing homepage, RT#9280
Index: RefreshHomepage
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/RefreshHomepage,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- RefreshHomepage 31 Dec 2009 13:14:14 -0000 1.1.1.1
+++ RefreshHomepage 23 Jul 2010 22:09:30 -0000 1.2
@@ -46,9 +46,13 @@
%#
%# END BPS TAGGED BLOCK }}}
<&|/Widgets/TitleBox, title => loc('Refresh')&>
-<form method="get" action="<% RT->Config->Get('WebPath') . $m->request_path %>">
+<form method="get" action="<% RT->Config->Get('WebPath') . $path %>">
<& /Elements/Refresh, Name => 'HomeRefreshInterval',
Default => $session{'home_refresh_interval'}||RT->Config->Get('HomePageRefreshInterval', $session{'CurrentUser'}) &>
<& /Elements/Submit, Label => loc('Go!') &>
</&>
</form>
+<%init>
+my $path = $m->request_path;
+$path =~ s(^/rt)(); #hacky, dunno why this happens
+</%init>
More information about the freeside-commits
mailing list