[freeside-commits] branch master updated. 704bb43d5343eeb523a13be55506b804d8c67bd0

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


The branch, master has been updated
       via  704bb43d5343eeb523a13be55506b804d8c67bd0 (commit)
      from  bda14295c400a8e829c223b80e55826977992ecc (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 704bb43d5343eeb523a13be55506b804d8c67bd0
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