From 69a17ed7c31d23670f715ad639ab16b12392dcc1 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Apr 2011 00:48:10 +0000 Subject: fix submission bug w/chrome, RT#12638 --- httemplate/misc/cust_pkg-import.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'httemplate/misc/cust_pkg-import.html') diff --git a/httemplate/misc/cust_pkg-import.html b/httemplate/misc/cust_pkg-import.html index b29884d66..f86d317b9 100644 --- a/httemplate/misc/cust_pkg-import.html +++ b/httemplate/misc/cust_pkg-import.html @@ -3,15 +3,15 @@ Import a file containing package records.

-<% include( '/elements/form-file_upload.html', - 'name' => 'PackageImportForm', - 'action' => 'process/cust_pkg-import.html', - 'num_files' => 1, - 'fields' => [ 'agentnum', 'pkgbatch', 'format' ], - 'message' => 'Package import successful', - 'url' => $p."search/cust_pkg.cgi?pkgbatch=$pkgbatch", - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'PackageImportForm', + 'action' => 'process/cust_pkg-import.html', + 'num_files' => 1, + 'fields' => [ 'agentnum', 'pkgbatch', 'format' ], + 'message' => 'Package import successful', + 'url' => $p."search/cust_pkg.cgi?pkgbatch=$pkgbatch", + 'onsubmit' => "document.PackageImportForm.submitButton.disabled=true;" +&> <% &ntable("#cccccc", 2) %> @@ -49,9 +49,9 @@ Import a file containing package records. -- cgit v1.2.1