[freeside-commits] freeside/httemplate/edit/cust_main select-country.html, 1.1, 1.2 select-county.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Sun Sep 25 01:13:37 PDT 2005


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv32619/httemplate/edit/cust_main

Modified Files:
	select-country.html select-county.html 
Log Message:
get rid of JSRS iframe foo for progress bar, use XMLHTTPRequest instead.  really should have done that in the first place.  JSON will wait until another day...

Index: select-country.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/select-country.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- select-country.html	10 Sep 2005 14:50:56 -0000	1.1
+++ select-country.html	25 Sep 2005 08:13:35 -0000	1.2
@@ -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">
 

Index: select-county.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/select-county.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- select-county.html	10 Sep 2005 14:50:56 -0000	1.1
+++ select-county.html	25 Sep 2005 08:13:35 -0000	1.2
@@ -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">
   



More information about the freeside-commits mailing list