diff options
author | ivan <ivan> | 2008-04-01 06:34:17 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-01 06:34:17 +0000 |
commit | 145e7ee0b767e95c229657680ae477bb693ac7fc (patch) | |
tree | 3ebedb066ab55bd2c8042702351443416e58f91d /httemplate/misc | |
parent | 613d148f17c40763986df9e53fe7476b3e49af9c (diff) |
popup iframes don't have predictable names anymore, so locate submit buttons by id instead
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/cancel_cust.html | 4 | ||||
-rwxr-xr-x | httemplate/misc/cancel_pkg.html | 4 |
2 files changed, 4 insertions, 4 deletions
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 @@ <BR> <P ALIGN="CENTER"> -<INPUT TYPE="submit" NAME="submit" VALUE="Cancel customer" disabled='true'> <INPUT TYPE="BUTTON" VALUE="Don't cancel" onClick="parent.cClick();"> +<INPUT TYPE="submit" NAME="submit" ID="confirm_cancel_cust_button" VALUE="Cancel customer" DISABLED> <INPUT TYPE="BUTTON" VALUE="Don't cancel" onClick="parent.cClick();"> </FORM> </BODY> 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')", ) %> </TABLE> <BR> -<INPUT TYPE="submit" NAME="submit" VALUE="<% $submit %>" disabled='true'> +<INPUT TYPE="submit" NAME="submit" ID="confirm_cancel_pkg_button" VALUE="<% $submit %>" DISABLED> </FORM> </BODY> |