From ba82a28b4624e9e768a71a8f4a66825796a3112e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Apr 2011 00:48:11 +0000 Subject: fix submission bug w/chrome, RT#12638 --- httemplate/misc/rate_edit_excel.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'httemplate/misc/rate_edit_excel.html') diff --git a/httemplate/misc/rate_edit_excel.html b/httemplate/misc/rate_edit_excel.html index 442d83aca..e55c676a8 100644 --- a/httemplate/misc/rate_edit_excel.html +++ b/httemplate/misc/rate_edit_excel.html @@ -4,15 +4,15 @@ WARNING: This functionality does not yet preserve connection charges.

% } -<% include( '/elements/form-file_upload.html', - 'name' => 'RateImportForm', - 'action' => 'process/rate_edit_excel.html', - 'num_files' => 1, - 'fields' => [ 'format' ], - 'message' => 'Rate edit successful', - 'url' => $p."browse/rate_region.html", - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'RateImportForm', + 'action' => 'process/rate_edit_excel.html', + 'num_files' => 1, + 'fields' => [ 'format' ], + 'message' => 'Rate edit successful', + 'url' => $p."browse/rate_region.html", + 'onsubmit' => "document.RateImportForm.submitButton.disabled=true;" +&> <% &ntable("#cccccc", 2) %> @@ -46,9 +46,9 @@ -- cgit v1.2.1