From 5e563f2a48d445c2d2eeb59bd96bcd2c7c0d6855 Mon Sep 17 00:00:00 2001 From: PrestaEdit Date: Sat, 8 Dec 2012 23:46:14 +0100 Subject: [PATCH] [-] FO : mobile template - states management --- themes/default/js/tools/statesManagement.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/default/js/tools/statesManagement.js b/themes/default/js/tools/statesManagement.js index 26c1e6468..22f19c787 100644 --- a/themes/default/js/tools/statesManagement.js +++ b/themes/default/js/tools/statesManagement.js @@ -42,10 +42,13 @@ function updateState(suffix) }); $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow'); + $('div.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow'); } else + { + $('div.id_state'+(suffix !== undefined ? '_'+suffix : '')).hide(); $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')).hide(); - + } } function updateNeedIDNumber(suffix)