diff options
| author | ivan <ivan> | 2011-04-27 00:48:11 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-04-27 00:48:11 +0000 |
| commit | ba82a28b4624e9e768a71a8f4a66825796a3112e (patch) | |
| tree | 1b0a0baaa01aad8bf7a4cf88e9533d9dace4209c /httemplate/misc/rate-import.html | |
| parent | 0614763f4b5dbf0e58dbdc2858152bbaa0afea5e (diff) | |
fix submission bug w/chrome, RT#12638
Diffstat (limited to 'httemplate/misc/rate-import.html')
| -rw-r--r-- | httemplate/misc/rate-import.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/httemplate/misc/rate-import.html b/httemplate/misc/rate-import.html index ae8ee695b..538418d13 100644 --- a/httemplate/misc/rate-import.html +++ b/httemplate/misc/rate-import.html @@ -1,14 +1,14 @@ <% include("/elements/header.html",'Import Rate Plan') %> -<% include( '/elements/form-file_upload.html', - 'name' => 'RateImportForm', - 'action ' => 'process/rate-import.html', - 'num_files' => 1, - 'fields' => [ 'ratename' ], - 'message' => 'Rate plan import successful', -# 'url' => $p."browse/rate_detail.cgi?ratenum=$ratenum", #XXX how? - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'RateImportForm', + 'action ' => 'process/rate-import.html', + 'num_files' => 1, + 'fields' => [ 'ratename' ], + 'message' => 'Rate plan import successful', + #'url' => $p."browse/rate_detail.cgi?ratenum=$ratenum", #XXX how? + 'onsubmit' => "document.RateImportForm.submitButton.disabled=true;", +&> <% &ntable("#cccccc", 2) %> @@ -28,9 +28,9 @@ <TR> <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"> <INPUT TYPE = "submit" - ID = "submit" + ID = "submitButton" + NAME = "submitButton" VALUE = "Import rate plan" - onClick = "document.RateImportForm.submit.disabled=true;" > </TD> </TR> |
