[freeside-commits] freeside/httemplate/edit quick-charge.html, 1.2.2.5, 1.2.2.6
Ivan,,,
ivan at wavetail.420.am
Sun Sep 7 19:49:22 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv9689
Modified Files:
Tag: FREESIDE_1_7_BRANCH
quick-charge.html
Log Message:
extraneous code cleanup
Index: quick-charge.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/quick-charge.html,v
retrieving revision 1.2.2.5
retrieving revision 1.2.2.6
diff -u -d -r1.2.2.5 -r1.2.2.6
--- quick-charge.html 5 Jun 2008 19:24:37 -0000 1.2.2.5
+++ quick-charge.html 8 Sep 2008 02:49:19 -0000 1.2.2.6
@@ -16,22 +16,6 @@
}
}
-function enable_quick_charge_desc () {
- if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) {
- document.QuickChargeForm.submit.disabled = false;
- } else {
- document.QuickChargeForm.submit.disabled = true;
- }
-}
-
-function enable_quick_charge_amount () {
- if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) {
- document.QuickChargeForm.submit.disabled = false;
- } else {
- document.QuickChargeForm.submit.disabled = true;
- }
-}
-
function validate_quick_charge () {
var pkg = document.QuickChargeForm.pkg.value;
var pkg_regex = /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]]*)$/ ;
@@ -80,7 +64,7 @@
<TR>
<TD ALIGN="right">Amount: </TD>
<TD>
- $<INPUT TYPE="text" NAME="amount" SIZE=6 VALUE="<% $amount %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge_amount()">
+ $<INPUT TYPE="text" NAME="amount" SIZE=6 VALUE="<% $amount %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()">
</TD>
</TR>
@@ -100,13 +84,13 @@
<TR>
<TD>Description:</TD>
<TD>
- <INPUT TYPE="text" NAME="pkg" SIZE="60" MAXLENGTH="65" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge_desc()">
+ <INPUT TYPE="text" NAME="pkg" SIZE="60" MAXLENGTH="65" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()">
</TD>
</TR>
<TR>
<TD></TD>
- <TD><FONT SIZE="-1">Optional additional description: </FONT></TD>
+ <TD><FONT SIZE="-1">Optional additional description (also printed on invoice): </FONT></TD>
</TR>
% my $row = 0;
More information about the freeside-commits
mailing list