summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_pkg-import.html
diff options
context:
space:
mode:
authorivan <ivan>2011-04-27 00:48:10 +0000
committerivan <ivan>2011-04-27 00:48:10 +0000
commit69a17ed7c31d23670f715ad639ab16b12392dcc1 (patch)
tree93bc0aa9618cd7e5e8757a207376b3c5d0f5887d /httemplate/misc/cust_pkg-import.html
parente7c2224fdf499bd9cdf3759920378ec360eb965e (diff)
fix submission bug w/chrome, RT#12638
Diffstat (limited to 'httemplate/misc/cust_pkg-import.html')
-rw-r--r--httemplate/misc/cust_pkg-import.html22
1 files changed, 11 insertions, 11 deletions
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.
<BR><BR>
-<% 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.
<TR>
<TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
<INPUT TYPE = "submit"
- ID = "submit"
+ NAME = "submitButton"
+ ID = "submitButton"
VALUE = "Import file"
- onClick = "document.PackageImportForm.submit.disabled=true;"
>
</TD>
</TR>