[freeside-commits] freeside/httemplate/elements search-cust_main.html, 1.3.4.2, 1.3.4.3

Ivan,,, ivan at wavetail.420.am
Wed Apr 7 01:15:59 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv23614/elements

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	search-cust_main.html 
Log Message:
in employee edit, fix form getting submitted before customer search can complete.  throws "status connecting to" error and custnum does not get filled in, RT#8014

Index: search-cust_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/search-cust_main.html,v
retrieving revision 1.3.4.2
retrieving revision 1.3.4.3
diff -u -w -d -r1.3.4.2 -r1.3.4.3
--- search-cust_main.html	30 Mar 2010 02:53:12 -0000	1.3.4.2
+++ search-cust_main.html	7 Apr 2010 08:15:57 -0000	1.3.4.3
@@ -56,6 +56,8 @@
 
   }
 
+  var <% $field %>_search_active = false;
+
   function smart_<% $field %>_search(what) {
 
     var customer = what.value;
@@ -128,8 +130,12 @@
 
       }
 
+      <% $field %>_search_active = false;
+
     }
 
+    <% $field %>_search_active = true;
+
     smart_search( customer, <% $field %>_search_update );
 
 



More information about the freeside-commits mailing list