hideSide / showSide won´t work

Hi,

hide / showSide won´t work (V5.1 pro). For testing I load a sidebar with 2 items. In item 1 I attach a form with one button.

In the form event “onButtonClick” I

[code]function handle_addform(name) {
switch (name) {
case “faq_add_cancel”:
mysidebar.hideSide();

break;
}
}[/code]

but navigation panel is not hidden. If I try to use the “autohide” option this works fine.

the hideSide/showSide methods usage is available only in autohide mode.