From af5133610865324e88e2005e0e5f13700664d743 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Apr 2008 06:34:33 +0000 Subject: popup iframes don't have predictable names anymore, so locate submit buttons by id instead --- httemplate/misc/cancel_cust.html | 4 ++-- httemplate/misc/cancel_pkg.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html index 94c23646c..1773afc54 100644 --- a/httemplate/misc/cancel_cust.html +++ b/httemplate/misc/cancel_cust.html @@ -14,7 +14,7 @@ <% ntable("#cccccc", 2) %> -<% include('/elements/tr-select-reason.html', 'reasonnum', 'C', '', '', '', 'document.cust_cancel_popup.submit', +<% include('/elements/tr-select-reason.html', 'reasonnum', 'C', '', '', '', "document.getElementById('confirm_cancel_cust_button')", ) %> @@ -22,7 +22,7 @@

-          +          diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index e41662793..7a4690b21 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -39,12 +39,12 @@ %} % -<% include('/elements/tr-select-reason.html', 'reasonnum', $class, $reasonnum, '', '', 'document.sc_popup.submit' ) %> +<% include('/elements/tr-select-reason.html', 'reasonnum', $class, $reasonnum, '', '', "document.getElementById('confirm_cancel_pkg_button')" ) %>
- + -- cgit v1.2.1