[freeside-commits] freeside/httemplate/elements progress-init.html, 1.16.4.1, 1.16.4.2
Mark Wells
mark at wavetail.420.am
Mon Aug 15 19:10:10 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv1795/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
progress-init.html
Log Message:
reliably start batch download, #947
Index: progress-init.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/progress-init.html,v
retrieving revision 1.16.4.1
retrieving revision 1.16.4.2
diff -u -w -d -r1.16.4.1 -r1.16.4.2
--- progress-init.html 27 May 2011 01:11:19 -0000 1.16.4.1
+++ progress-init.html 16 Aug 2011 02:10:08 -0000 1.16.4.2
@@ -54,7 +54,10 @@
)
%>
-<% include('/elements/init_overlib.html') %>
+% if (!$noinit) {
+<& /elements/init_overlib.html &>
+% $noinit = 1;
+% }
<SCRIPT TYPE="text/javascript">
@@ -114,6 +117,9 @@
</SCRIPT>
+<%once>
+my $noinit = 0;
+</%once>
<%init>
my( $formname, $fields, $action, $url_or_message, $key ) = @_;
@@ -126,6 +132,7 @@
if $url_or_message->{'url'};
$url_or_message_link = 'popup_url=' .uri_escape( $url_or_message->{'popup_url'} )
if $url_or_message->{'popup_url'};
+
} else {
$url_or_message_link = "url=$url_or_message";
}
More information about the freeside-commits
mailing list