X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcdr-import.html;h=05d0bbc3c05ab92141d835e7ce5f2dc6ae4d2713;hb=9cb0274535a95a45a8f5796c8edafefb074f57c8;hp=7af6c521fc414f5f346450c35fe01378b7c4b714;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;p=freeside.git
diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html
index 7af6c521f..05d0bbc3c 100644
--- a/httemplate/misc/cdr-import.html
+++ b/httemplate/misc/cdr-import.html
@@ -1,14 +1,14 @@
<% include("/elements/header.html",'Call Detail Record Import') %>
-<% include( '/elements/form-file_upload.html',
- 'name' => 'CDRImportForm',
- 'action' => 'process/cdr-import.html',
- 'num_files' => 1,
- 'fields' => [ 'format', 'cdrbatch', ],
- 'message' => 'CDR import successful',
- 'url' => $p."search/cdr.html?cdrbatch=$cdrbatch",
- )
-%>
+<& /elements/form-file_upload.html,
+ 'name' => 'CDRImportForm',
+ 'action' => 'process/cdr-import.html',
+ 'num_files' => 1,
+ 'fields' => [ 'format', 'cdrbatch', ],
+ 'message' => 'CDR import successful',
+ 'url' => $p."search/cdr.html?cdrbatch=$cdrbatch",
+ 'onsubmit' => "document.CDRImportForm.submitButton.disabled=true;",
+&>
Import a file containing Call Detail Records (CDRs).
@@ -36,9 +36,9 @@ Import a file containing Call Detail Records (CDRs).