summaryrefslogtreecommitdiff
path: root/httemplate/elements/search-cust_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/search-cust_main.html')
-rw-r--r--httemplate/elements/search-cust_main.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/search-cust_main.html b/httemplate/elements/search-cust_main.html
index 23c4369e8..317922d3c 100644
--- a/httemplate/elements/search-cust_main.html
+++ b/httemplate/elements/search-cust_main.html
@@ -56,6 +56,8 @@ Example:
}
+ var <% $field %>_search_active = false;
+
function smart_<% $field %>_search(what) {
var customer = what.value;
@@ -128,8 +130,12 @@ Example:
}
+ <% $field %>_search_active = false;
+
}
+ <% $field %>_search_active = true;
+
smart_search( customer, <% $field %>_search_update );