// remove debug

This commit is contained in:
Rémi Gaillard
2013-10-04 18:45:18 +02:00
parent 2aee99c0b0
commit b2b0c4f00b
-3
View File
@@ -368,7 +368,6 @@ function bind_inputs()
function is_freeClick(elt) function is_freeClick(elt)
{ {
var is_free = $(elt); var is_free = $(elt);
console.log(parseInt(is_free.val()));
if (parseInt(is_free.val())) if (parseInt(is_free.val()))
hideFees(); hideFees();
else else
@@ -389,10 +388,8 @@ function hideFees()
function showFees() function showFees()
{ {
$('tr.range_inf td, tr.range_sup td, tr.fees_all td, tr.fees td').each( function () { $('tr.range_inf td, tr.range_sup td, tr.fees_all td, tr.fees td').each( function () {
console.log('tototo');
if ($(this).index() >= 2) if ($(this).index() >= 2)
{ {
console.log('tititi');
//enable only if zone is active //enable only if zone is active
tr = $(this).parent('tr'); tr = $(this).parent('tr');
validate = $('tr.fees_all td:eq('+$(this).index()+')').hasClass('validated'); validate = $('tr.fees_all td:eq('+$(this).index()+')').hasClass('validated');