[-] FO : mobile template - states management

This commit is contained in:
PrestaEdit
2012-12-08 23:46:14 +01:00
parent 037f0e6d3c
commit 5e563f2a48
+4 -1
View File
@@ -42,10 +42,13 @@ function updateState(suffix)
}); });
$('p.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow'); $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow');
$('div.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow');
} }
else else
{
$('div.id_state'+(suffix !== undefined ? '_'+suffix : '')).hide();
$('p.id_state'+(suffix !== undefined ? '_'+suffix : '')).hide(); $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')).hide();
}
} }
function updateNeedIDNumber(suffix) function updateNeedIDNumber(suffix)