diff options
author | ivan <ivan> | 2011-04-27 00:48:10 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-27 00:48:10 +0000 |
commit | 69a17ed7c31d23670f715ad639ab16b12392dcc1 (patch) | |
tree | 93bc0aa9618cd7e5e8757a207376b3c5d0f5887d /httemplate/misc/part_device-import.html | |
parent | e7c2224fdf499bd9cdf3759920378ec360eb965e (diff) |
fix submission bug w/chrome, RT#12638
Diffstat (limited to 'httemplate/misc/part_device-import.html')
-rw-r--r-- | httemplate/misc/part_device-import.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/misc/part_device-import.html b/httemplate/misc/part_device-import.html index 7bd640459..7cf8167dc 100644 --- a/httemplate/misc/part_device-import.html +++ b/httemplate/misc/part_device-import.html @@ -3,15 +3,15 @@ Import a file containing phone device types, one per line. <BR><BR> -<% include( '/elements/form-file_upload.html', - 'name' => 'PartDeviceImportForm', - 'action' => 'process/part_device-import.html', - 'num_files' => 1, - 'fields' => [ 'format', ], - 'message' => 'Device type import successful', - 'url' => $p.'browse/part_device.html', - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'PartDeviceImportForm', + 'action' => 'process/part_device-import.html', + 'num_files' => 1, + 'fields' => [ 'format', ], + 'message' => 'Device type import successful', + 'url' => $p.'browse/part_device.html', + 'onsubmit' => "document.PartDeviceImportForm.submitButton.disabled=true;", +&> <% &ntable("#cccccc", 2) %> @@ -26,9 +26,9 @@ Import a file containing phone device types, one per line. <TR> <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"> <INPUT TYPE = "submit" - ID = "submit" + ID = "submitButton" + NAME = "submitButton" VALUE = "Import file" - onClick = "document.PartDeviceImportForm.submit.disabled=true;" > </TD> </TR> |