//remove debug
This commit is contained in:
1 parent
02fdc5fe24
commit
f55a8c2dd5
1 file changed
-2
@@ -384,7 +384,6 @@ function validateRange(index)
|
|||||||
{
|
{
|
||||||
if (range_inf >= range_sup)
|
if (range_inf >= range_sup)
|
||||||
{
|
{
|
||||||
console.log('range_inf >= range_sup');
|
|
||||||
$('tr.range_sup td:eq('+index+')').children('input:text').addClass('field_error');
|
$('tr.range_sup td:eq('+index+')').children('input:text').addClass('field_error');
|
||||||
$('tr.range_inf td:eq('+index+')').children('input:text').addClass('field_error');
|
$('tr.range_inf td:eq('+index+')').children('input:text').addClass('field_error');
|
||||||
is_ok = false;
|
is_ok = false;
|
||||||
@@ -392,7 +391,6 @@ function validateRange(index)
|
|||||||
//check if previous range is inf only if it's not the first range
|
//check if previous range is inf only if it's not the first range
|
||||||
if (index > 2)
|
if (index > 2)
|
||||||
{
|
{
|
||||||
console.log('index > 2');
|
|
||||||
previous_range_sup = parseFloat($('tr.range_sup td:eq('+(index -1)+')').children('input:text').val().trim());
|
previous_range_sup = parseFloat($('tr.range_sup td:eq('+(index -1)+')').children('input:text').val().trim());
|
||||||
if (range_inf < previous_range_sup)
|
if (range_inf < previous_range_sup)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user