Accept negative numbers in INPUT.number
@@ -902,7 +902,7 @@ function rowvgStartEachRow(recursive,f) {
event.preventDefault();
}
})
- registerRegexpValidator(e,/^(\d+|)$/,"Not an integer");
+ registerRegexpValidator(e,/^((\-?\d+)|)$/,"Not an integer");
});
Behaviour.specify("INPUT.number-required", "input-number-required", ++p, function(e) {
