[freeside-commits] freeside/httemplate/misc cancel_cust.html, 1.1.2.4, 1.1.2.5 cancel_pkg.html, 1.2.2.3, 1.2.2.4
Ivan,,,
ivan at wavetail.420.am
Mon Mar 31 23:34:34 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv32562/misc
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- cancel_cust.html 13 Jan 2008 21:14:29 -0000 1.1.2.4
+++ cancel_cust.html 1 Apr 2008 06:34:31 -0000 1.1.2.5
@@ -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 @@
<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.2.2.3
retrieving revision 1.2.2.4
diff -u -d -r1.2.2.3 -r1.2.2.4
--- cancel_pkg.html 13 Jan 2008 21:14:29 -0000 1.2.2.3
+++ cancel_pkg.html 1 Apr 2008 06:34:31 -0000 1.2.2.4
@@ -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')" ) %>
</TABLE>
<BR>
-<INPUT TYPE="submit" NAME="submit" VALUE="<% $submit %>" disabled='true'>
+<INPUT TYPE="submit" NAME="submit" VALUE="<% $submit %>" ID="confirm_cancel_pkg_button" VALUE="<% $submit %>" DISABLED>
</FORM>
</BODY>
More information about the freeside-commits
mailing list