-
Notifications
You must be signed in to change notification settings - Fork 3
Filter panel state
Simon edited this page Jul 19, 2016
·
1 revision
At each ajax requests the filter panel is re-render with the new data. However a user can decide to close or open the panel and this state should be saved between each ajax request (a user don't want the panel to be closed automatically when a response of a request is received). The state of the filter panel (open or close) is saved in a global variable. Each time the panel is toggle the global variable is updated and then used as a condition to display or not the panel.