[freeside-commits] freeside/httemplate/elements xmlhttp.html, 1.6,
1.7 progress-init.html, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Fri Mar 10 21:21:22 PST 2006
- Previous message: [freeside-commits] freeside/httemplate/elements progress-init.html,
1.6, 1.7
- Next message: [freeside-commits]
freeside/httemplate/misc email_invoices.cgi, 1.3,
1.4 email_invoice_events.cgi, 1.2, 1.3 fax_invoices.cgi, 1.3,
1.4 fax_invoice_events.cgi, 1.2, 1.3 print_invoice_events.cgi,
1.2, 1.3 print_invoices.cgi, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv29364/elements
Modified Files:
xmlhttp.html progress-init.html
Log Message:
fix the progressbar bug with multiple progressbar forms on a page
Index: xmlhttp.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/xmlhttp.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xmlhttp.html 4 Nov 2005 11:43:42 -0000 1.6
+++ xmlhttp.html 11 Mar 2006 05:21:20 -0000 1.7
@@ -4,6 +4,7 @@
my $url = $opt{'url'};
my $method = exists($opt{'method'}) ? $opt{'method'} : 'GET';
#my @subs = @{ $opt{'subs'};
+ my $key = exists($opt{'key'}) ? $opt{'key'} : '';
$url .= ( ($url =~ /\?/) ? '&' : '?' )
if $method eq 'GET';
@@ -38,10 +39,10 @@
%>
- function <%=$func%>() {
+ function <%=$key%><%=$func%>() {
// count args; build URL
var url = "<%=$furl%>";
- var a = <%=$func%>.arguments;
+ var a = <%=$key%><%=$func%>.arguments;
var args;
var len;
Index: progress-init.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/progress-init.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- progress-init.html 10 Mar 2006 22:30:48 -0000 1.7
+++ progress-init.html 11 Mar 2006 05:21:20 -0000 1.8
@@ -14,7 +14,8 @@
<%= include('/elements/xmlhttp.html',
'method' => 'POST',
'url' => $action,
- 'subs' => [ $key.'start_job' ],
+ 'subs' => [ 'start_job' ],
+ 'key' => $key,
)
%>
<SCRIPT TYPE="text/javascript" SRC="../elements/overlibmws.js"></SCRIPT>
- Previous message: [freeside-commits] freeside/httemplate/elements progress-init.html,
1.6, 1.7
- Next message: [freeside-commits]
freeside/httemplate/misc email_invoices.cgi, 1.3,
1.4 email_invoice_events.cgi, 1.2, 1.3 fax_invoices.cgi, 1.3,
1.4 fax_invoice_events.cgi, 1.2, 1.3 print_invoice_events.cgi,
1.2, 1.3 print_invoices.cgi, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list