Commit ba38a3cfbefbeee03ab958c4b9014d161c01249c

Authored by Caio Salgado + Alessandro Palmeira
Committed by Caio
1 parent 5768e862

[Mezuro] fixed integer validation

plugins/mezuro/public/javascripts/validations.js
@@ -55,7 +55,7 @@ function validate_new_range_configuration(event){ @@ -55,7 +55,7 @@ function validate_new_range_configuration(event){
55 alert("Beginning, End and Grade must be numeric values"); 55 alert("Beginning, End and Grade must be numeric values");
56 return false; 56 return false;
57 } 57 }
58 - if (beginning > end) 58 + if (parseInt(beginning) > parseInt(end))
59 { 59 {
60 alert("End must be greater than Beginning"); 60 alert("End must be greater than Beginning");
61 return false; 61 return false;