Title: [SOLVED] Layout - collapse will not work Post by: Pierre on October 05, 2013, 11:56:51 AM Hi all
I have some "west" panel with few buttons on it and it works perfect. When I remove buttons from panel (using this code): var c = $('#members_tree_layout'); // layout object var w = c.layout('panel','west'); // get panel w.panel('header').html('<div class="panel-title">New Title</div><div class="panel-tool"><a style="display: none;" class="panel-tool-collapse" href="javascript:void(0)"></a><a class="layout-button-left" href="javascript:void(0)"></a></div>'); panel have "Collapse" button but when I click on it, it does not work (panel is not collapsed). Any idea why not? [SOLVED] see: [SOLVED] How to delete controls? |