diff options
author | Mark Wells <mark@freeside.biz> | 2016-09-26 15:56:23 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-09-26 16:04:03 -0700 |
commit | 233d5979a379d2536468f21ccbd97d54d615ac30 (patch) | |
tree | ba242fa20bd3d95d596cdb0680bd275f6506146d | |
parent | a6a4b17cbf6359fecde5135727a59b1f7b54cd9f (diff) |
fix "-" character in one-time charge descriptions, #72101, from #72175
-rw-r--r-- | httemplate/edit/quick-charge.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 6da5f1231..dde891767 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; |