summaryrefslogtreecommitdiff
path: root/httemplate/elements/search-cust_main.html
diff options
context:
space:
mode:
authorivan <ivan>2010-10-20 02:07:02 +0000
committerivan <ivan>2010-10-20 02:07:02 +0000
commita8e4b1744a6bbd2e1509b58e73b1d52751563880 (patch)
tree77ffb2638f193f748c36423d1dabd65ee81d6d8a /httemplate/elements/search-cust_main.html
parent633510de5405b966d160ab95ad396bc601764603 (diff)
customer merging, RT#10247
Diffstat (limited to 'httemplate/elements/search-cust_main.html')
-rw-r--r--httemplate/elements/search-cust_main.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/search-cust_main.html b/httemplate/elements/search-cust_main.html
index 317922d3c..e8c645eca 100644
--- a/httemplate/elements/search-cust_main.html
+++ b/httemplate/elements/search-cust_main.html
@@ -11,7 +11,7 @@ Example:
);
</%doc>
-<INPUT TYPE="hidden" NAME="<% $field %>" VALUE="<% $value %>">
+<INPUT TYPE="hidden" NAME="<% $field %>" ID="<% $field %>" VALUE="<% $value %>">
<!-- some false laziness w/ misc/batch-cust_pay.html, though not as bad as i'd thought at first... -->
@@ -60,6 +60,9 @@ Example:
function smart_<% $field %>_search(what) {
+ if ( <% $field %>_search_active )
+ return;
+
var customer = what.value;
if ( customer == 'searching...' || customer == ''