[freeside-commits] branch FREESIDE_3_BRANCH updated. 3b435e5106bd9fd278611e5b0a23cd2e7e2e07c2

Mark Wells mark at 420.am
Mon Sep 26 16:04:59 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  3b435e5106bd9fd278611e5b0a23cd2e7e2e07c2 (commit)
      from  8ab9d14a304aacdefd98e80c143132b10194d8c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3b435e5106bd9fd278611e5b0a23cd2e7e2e07c2
Author: Mark Wells <mark at freeside.biz>
Date:   Mon Sep 26 15:56:23 2016 -0700

    fix "-" character in one-time charge descriptions, #72101, from #72175

diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 2f70bd7..99cc19c 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -40,7 +40,7 @@ function enable_quick_charge (e) {
 
 function validate_quick_charge () {
   var pkg = document.QuickChargeForm.pkg.value;
-  var pkg_regex = XRegExp('^([\\p{L}\\p{N} \_\!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\\[\\]]*)$');
+  var pkg_regex = XRegExp('^([\\p{L}\\p{N} \_\!\@\#\$\%\&\(\)\+\;\:\'\"\,\.\?\/\=\\-\\[\\]]*)$');
   var amount = document.QuickChargeForm.amount.value;
   var amount_regex = /^\s*\$?\s*(\d*(\.?\d{1,2}))\s*$/ ;
   var rval = true;

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/quick-charge.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list