Show and Hide the menu tree panel

From pmusers
Jump to: navigation, search

The menu tree panel is the panel on the left hand side which holds the Cases options such as New Case, Inbox, Draft, Participated, etc.

To make the menu tree panel hide (collapse), use this code:

$("#menuTreePanel div.x-tool-collapse-west", top.frames['casesFrame'].document).click()

ClosedMenuTreePanel.png

To make the Menu Tree Panel show (expand), use this code:

$("#menuTreePanel-xcollapsed", top.frames['casesFrame'].document).click()

OpenMenuTreePanel.png