Merge branch 'bug4719' into QA_4_3
This commit is contained in:
commit
d1d5ee02f4
@ -359,11 +359,7 @@ $(function () {
|
||||
var storage = window.sessionStorage;
|
||||
// remove tree from storage if Navi_panel config form is submitted
|
||||
$(document).on('submit', 'form.config-form', function(event) {
|
||||
if ($(this).attr('action').indexOf('form=Navi_panel') >= 0 ||
|
||||
$(this).attr('action').indexOf('form=Main_panel') >= 0
|
||||
) {
|
||||
storage.removeItem('navTree');
|
||||
}
|
||||
storage.removeItem('navTree');
|
||||
});
|
||||
// Initialize if no previous state is defined
|
||||
if (typeof storage.navTree === 'undefined') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user