Bug 23354: Prevent negatives from being entered

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-11-20 12:52:13 +00:00
parent b151f71ddc
commit a65363acd5
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -300,6 +300,7 @@
},{
type : 'number',
step : '0.01',
min : '0',
onblur : 'submit'
});
local.$('.editable_int').editable( function(value, settings) {
@ -309,6 +310,7 @@
},{
type : 'number',
step : '1',
min : '0',
onblur : 'submit'
});
},