projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the progressbar bug with multiple progressbar forms on a page
[freeside.git]
/
httemplate
/
elements
/
xmlhttp.html
diff --git
a/httemplate/elements/xmlhttp.html
b/httemplate/elements/xmlhttp.html
index
28130e5
..
e034388
100644
(file)
--- a/
httemplate/elements/xmlhttp.html
+++ b/
httemplate/elements/xmlhttp.html
@@
-4,6
+4,7
@@
my $url = $opt{'url'};
my $method = exists($opt{'method'}) ? $opt{'method'} : 'GET';
#my @subs = @{ $opt{'subs'};
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';
$url .= ( ($url =~ /\?/) ? '&' : '?' )
if $method eq 'GET';
@@
-38,10
+39,10
@@
%>
%>
- function <%=$func%>() {
+ function <%=$
key%><%=$
func%>() {
// count args; build URL
var url = "<%=$furl%>";
// count args; build URL
var url = "<%=$furl%>";
- var a = <%=$func%>.arguments;
+ var a = <%=$
key%><%=$
func%>.arguments;
var args;
var len;
var args;
var len;