X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fphone_avail-import.html;h=0febfbcf5db25de8bf885ba3adab4effb3457087;hb=a2c196921e984b7f1784fbb41c96a053ef68c9ee;hp=b6fea7ec2728f537db14a0860383ca7c3d8bcd87;hpb=dad39ad50ddc5cbb549a0207262d94a4886d5fec;p=freeside.git
diff --git a/httemplate/misc/phone_avail-import.html b/httemplate/misc/phone_avail-import.html
index b6fea7ec2..0febfbcf5 100644
--- a/httemplate/misc/phone_avail-import.html
+++ b/httemplate/misc/phone_avail-import.html
@@ -3,15 +3,16 @@
Import a file containing phone numbers (DIDs).
-<% include( '/elements/form-file_upload.html',
- 'name' => 'PhonenumImportForm',
- 'action' => 'process/phone_avail-import.html',
- 'num_files' => 1,
- 'fields' => [ 'format', 'availbatch', 'exportnum', 'countrycode', 'ordernum', 'confirmed', 'vendor_order_id' ],
- 'message' => 'DID import successful',
- 'url' => $p."search/phone_avail.html?availbatch=$availbatch",
- )
-%>
+<& /elements/form-file_upload.html,
+ 'name' => 'PhonenumImportForm',
+ 'action' => 'process/phone_avail-import.html',
+ 'num_files' => 1,
+ 'fields' => [ 'format', 'availbatch', 'exportnum', 'countrycode',
+ 'ordernum', 'confirmed', 'vendor_order_id' ],
+ 'message' => 'DID import successful',
+ 'url' => $p."search/phone_avail.html?availbatch=$availbatch",
+ 'onsubmit' => "document.PhonenumImportForm.submitButton.disabled=true;",
+&>
<% &ntable("#cccccc", 2) %>
@@ -86,9 +87,9 @@ Import a file containing phone numbers (DIDs).