From 9d69622a6bd83de2add9c2ba9accfe435993bbb1 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 7 Apr 2010 08:15:55 +0000 Subject: 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 --- httemplate/edit/elements/edit.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'httemplate/edit/elements') diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 0c7c02dab..0fc511a17 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -129,6 +129,9 @@ Example: "html_string"; }, + #javascript function name, will be called with form name as arg + 'onsubmit' => 'check_form_data', + #at the very bottom (well, as low as you can go from here) 'html_foot' => '', @@ -201,7 +204,11 @@ Example: % my $url = $opt{'post_url'} || popurl(1)."process/$table.html"; -
+ +> @@ -699,7 +706,13 @@ Example:
-"> +" +>
-- cgit v1.2.1