Commit ba38a3cfbefbeee03ab958c4b9014d161c01249c
Committed by
Caio
1 parent
5768e862
Exists in
staging
and in
42 other branches
[Mezuro] fixed integer validation
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/mezuro/public/javascripts/validations.js
... | ... | @@ -55,7 +55,7 @@ function validate_new_range_configuration(event){ |
55 | 55 | alert("Beginning, End and Grade must be numeric values"); |
56 | 56 | return false; |
57 | 57 | } |
58 | - if (beginning > end) | |
58 | + if (parseInt(beginning) > parseInt(end)) | |
59 | 59 | { |
60 | 60 | alert("End must be greater than Beginning"); |
61 | 61 | return false; | ... | ... |