From 145e7ee0b767e95c229657680ae477bb693ac7fc Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Apr 2008 06:34:17 +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 74362f862..5c2e03677 100644 --- a/httemplate/misc/cancel_cust.html +++ b/httemplate/misc/cancel_cust.html @@ -18,7 +18,7 @@ 'field' => 'reasonnum', 'reason_class' => 'C', 'cgi' => $cgi, - 'control_button' => 'document.cust_cancel_popup.submit', + 'control_button' => "document.getElementById('confirm_cancel_cust_button')", ) %> @@ -26,7 +26,7 @@

-          +          diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index 8dffba72e..e0e5fd1f8 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -43,14 +43,14 @@ 'field' => 'reasonnum', 'reason_class' => $class, 'curr_value' => $reasonnum, - 'control_button' => 'document.sc_popup.submit', + 'control_button' => "document.getElementById('confirm_cancel_pkg_button')", ) %>
- + -- cgit v1.2.1