Changeset - 8b16abf981e5
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-12-02 21:27:37
bkuhn@ebb.org
PayPal seems to be ok with commas.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/supporter-page.js
Show inline comments
...
 
@@ -37,7 +37,7 @@ $(document).ready(function() {
 
        var value = input.val();
 
        var errorElement=$("span", input.parent());
 

	
 
        var re = /^[0-9\.]+$/;
 
        var re = /^[0-9\,\.]+$/;
 
        var isValid = (re.test(value) && parseInt(value) >= 120);
 
        if (isValid)  {
 
           input.removeClass("invalid").addClass("valid");
0 comments (0 inline, 0 general)