diff --git a/htdocs/core/tpl/bloc_showhide.tpl.php b/htdocs/core/tpl/bloc_showhide.tpl.php index 2ac7ce4a397..2c5d71c79d5 100644 --- a/htdocs/core/tpl/bloc_showhide.tpl.php +++ b/htdocs/core/tpl/bloc_showhide.tpl.php @@ -28,13 +28,13 @@ if (isset($object->extraparams[$blocname]['showhide'])) $hide = (empty($object-> $(document).ready(function() { $("#hide-").click(function(){ setShowHide(0); - $("#_bloc").hide("blind", {direction: "vertical"}, 800).removeClass("nohideobject"); + $("#_bloc").hide("blind", {direction: "vertical"}, 300).removeClass("nohideobject"); $(this).hide(); $("#show-").show(); }); $("#show-").click(function(){ setShowHide(1); - $("#_bloc").show("blind", {direction: "vertical"}, 800).addClass("nohideobject"); + $("#_bloc").show("blind", {direction: "vertical"}, 300).addClass("nohideobject"); $(this).hide(); $("#hide-").show(); }); @@ -43,7 +43,7 @@ $(document).ready(function() { var element = 'element; ?>'; var htmlelement = ''; var type = 'showhide'; - + $.get("?id="+id+"&element="+element+"&htmlelement="+htmlelement+"&type="+type+"&value="+status); } });