X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fpart_device-import.html;h=7cf8167dcebcc47b2b2c99f0882d90ceb2bd3b45;hb=5847b9f9d69019e8c254da74b484e2b55f1507a1;hp=7bd640459baf18f4b98f8ae4e506b45c42405e15;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git
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.