Changeset 885

Show
Ignore:
Timestamp:
07/12/08 21:24:20 (2 months ago)
Author:
asiby
Message:

Bug fix allow cards to be refilled with a negative number.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/A2Billing_UI/Public/javascript/card.js

    r1 r885  
    3939        addcredit = document.theForm.addcredit.value; 
    4040                 
    41         if ( (addcredit == 0) || (!IsNumeric(addcredit)) ){ 
     41        if ( (addcredit == 0) || (!IsNumeric(parseFloat(addcredit))) ){ 
    4242                alert ('Please , Fill credit box with a numeric value');  
    4343                return; 
  • trunk/common/javascript/card.js

    r882 r885  
    4444                 
    4545                 
    46         if ( (addcredit == 0) || (!IsNumeric(addcredit)) ){ 
     46        if ( (addcredit == 0) || (!IsNumeric(parseFloat(addcredit))) ){ 
    4747                alert ('Please , Fill credit box with a numeric value');  
    4848                return; 


Google