//fixed bug PSCFV-10567

This commit is contained in:
Vincent Augagneur
2013-10-04 16:33:50 +02:00
parent a4b7fc942f
commit fe6494bf35
+4 -2
View File
@@ -368,7 +368,7 @@ function bind_inputs()
function is_freeClick(elt)
{
var is_free = $(elt);
console.log(parseInt(is_free.val()));
if (parseInt(is_free.val()))
hideFees();
else
@@ -389,8 +389,10 @@ function hideFees()
function showFees()
{
$('tr.range_inf td, tr.range_sup td, tr.fees_all td, tr.fees td').each( function () {
if ($(this).index() > 2)
console.log('tototo');
if ($(this).index() >= 2)
{
console.log('tititi');
//enable only if zone is active
tr = $(this).parent('tr');
validate = $('tr.fees_all td:eq('+$(this).index()+')').hasClass('validated');