[freeside-commits] freeside/httemplate/misc cancel_cust.html, 1.4, 1.5 cancel_pkg.html, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Mon Mar 31 23:34:18 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv32513/misc
Modified Files:
cancel_cust.html cancel_pkg.html
Log Message:
popup iframes don't have predictable names anymore, so locate submit buttons by id instead
Index: cancel_cust.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cancel_cust.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cancel_cust.html 29 Mar 2008 08:15:45 -0000 1.4
+++ cancel_cust.html 1 Apr 2008 06:34:16 -0000 1.5
@@ -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>
Index: cancel_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/cancel_pkg.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cancel_pkg.html 13 Jan 2008 21:14:18 -0000 1.6
+++ cancel_pkg.html 1 Apr 2008 06:34:16 -0000 1.7
@@ -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>
More information about the freeside-commits
mailing list