[freeside-commits] branch FREESIDE_4_BRANCH updated. 233d5979a379d2536468f21ccbd97d54d615ac30

Mark Wells mark at 420.am
Mon Sep 26 16:05:00 PDT 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  233d5979a379d2536468f21ccbd97d54d615ac30 (commit)
      from  a6a4b17cbf6359fecde5135727a59b1f7b54cd9f (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 233d5979a379d2536468f21ccbd97d54d615ac30
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 6da5f12..dde8917 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