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:19 -0700 |
commit | 704bb43d5343eeb523a13be55506b804d8c67bd0 (patch) | |
tree | 0c838dae194063df1ca309d23be61b6331b18fb7 /httemplate | |
parent | bda14295c400a8e829c223b80e55826977992ecc (diff) |
fix "-" character in one-time charge descriptions, #72101, from #72175
Diffstat (limited to 'httemplate')
-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 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; |