summaryrefslogtreecommitdiff
path: root/httemplate/misc/cancel_pkg.html
diff options
context:
space:
mode:
authorivan <ivan>2008-04-01 06:34:17 +0000
committerivan <ivan>2008-04-01 06:34:17 +0000
commit145e7ee0b767e95c229657680ae477bb693ac7fc (patch)
tree3ebedb066ab55bd2c8042702351443416e58f91d /httemplate/misc/cancel_pkg.html
parent613d148f17c40763986df9e53fe7476b3e49af9c (diff)
popup iframes don't have predictable names anymore, so locate submit buttons by id instead
Diffstat (limited to 'httemplate/misc/cancel_pkg.html')
-rwxr-xr-xhttemplate/misc/cancel_pkg.html4
1 files changed, 2 insertions, 2 deletions
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>