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/part_device-import.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'httemplate/misc/part_device-import.html') 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.

-<% 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. -- cgit v1.2.1