diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/select-country.html | 6 | ||||
-rw-r--r-- | httemplate/edit/cust_main/select-county.html | 6 | ||||
-rwxr-xr-x | httemplate/edit/process/part_svc.cgi | 5 | ||||
-rwxr-xr-x | httemplate/edit/process/rate.cgi | 5 |
4 files changed, 14 insertions, 8 deletions
diff --git a/httemplate/edit/cust_main/select-country.html b/httemplate/edit/cust_main/select-country.html index 44f4f0a55..014effd66 100644 --- a/httemplate/edit/cust_main/select-country.html +++ b/httemplate/edit/cust_main/select-country.html @@ -10,7 +10,11 @@ %> -<%= include('/elements/xmlhttp.html', $p.'misc/states.cgi', $opt{'prefix'}. 'get_states') %> +<%= include('/elements/xmlhttp.html', + 'url' => $p.'misc/states.cgi', + 'subs' => [ $opt{'prefix'}. 'get_states' ], + ) +%> <SCRIPT TYPE="text/javascript"> diff --git a/httemplate/edit/cust_main/select-county.html b/httemplate/edit/cust_main/select-county.html index 70a8f9477..3de380b31 100644 --- a/httemplate/edit/cust_main/select-county.html +++ b/httemplate/edit/cust_main/select-county.html @@ -15,7 +15,11 @@ <% if ( $countyflag ) { %> - <%= include('/elements/xmlhttp.html', $p.'misc/counties.cgi', $opt{'prefix'}. 'get_counties' ) %> + <%= include('/elements/xmlhttp.html', + 'url' => $p.'misc/counties.cgi', + 'subs' => [ $opt{'prefix'}. 'get_counties' ], + ) +%> <SCRIPT TYPE="text/javascript"> diff --git a/httemplate/edit/process/part_svc.cgi b/httemplate/edit/process/part_svc.cgi index 664e5212a..b92b62739 100755 --- a/httemplate/edit/process/part_svc.cgi +++ b/httemplate/edit/process/part_svc.cgi @@ -1,4 +1,3 @@ <% -my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process'; -$server->process; -%> + my $server = new FS::UI::Web::JSRPC 'FS::part_svc::process', $cgi; +%><%= $server->process %> diff --git a/httemplate/edit/process/rate.cgi b/httemplate/edit/process/rate.cgi index 005caf90a..0030b5754 100755 --- a/httemplate/edit/process/rate.cgi +++ b/httemplate/edit/process/rate.cgi @@ -1,4 +1,3 @@ <% -my $server = new FS::UI::Web::JSRPC 'FS::rate::process'; -$server->process; -%> + my $server = new FS::UI::Web::JSRPC 'FS::rate::process'; +%><%= $server->process %> |