projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bda1429
)
fix "-" character in one-time charge descriptions, #72101, from #72175
author
Mark Wells
<mark@freeside.biz>
Mon, 26 Sep 2016 22:56:23 +0000
(15:56 -0700)
committer
Mark Wells
<mark@freeside.biz>
Mon, 26 Sep 2016 23:04:19 +0000
(16:04 -0700)
httemplate/edit/quick-charge.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/quick-charge.html
b/httemplate/edit/quick-charge.html
index
6da5f12
..
dde8917
100644
(file)
--- 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;
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;
var amount = document.QuickChargeForm.amount.value;
var amount_regex = /^\s*\$?\s*(\d*(\.?\d{1,2}))\s*$/ ;
var rval = true;