From 69a17ed7c31d23670f715ad639ab16b12392dcc1 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Apr 2011 00:48:10 +0000 Subject: fix submission bug w/chrome, RT#12638 --- httemplate/misc/rate-import.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'httemplate/misc/rate-import.html') 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 @@ -- cgit v1.2.1