negative numbers
This commit is contained in:
parent
1279c8d4bc
commit
95dca33041
|
@ -49,6 +49,10 @@ setlanguage();
|
|||
"numeric": {
|
||||
"regex": /^[0-9]+$/,
|
||||
"alertText": "<?php echo _('Please enter a number.') ?>"
|
||||
},
|
||||
"numericWithNegative": {
|
||||
"regex": /^[-]?[0-9]+$/,
|
||||
"alertText": "<?php echo _('Please enter a number.') ?>"
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue