diff options
author | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2015-01-08 04:48:38 +0300 |
---|---|---|
committer | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2015-01-08 04:48:38 +0300 |
commit | 477cf0b44dca395e9b4e21d3b03646d1dd1574ab (patch) | |
tree | ace7b3202546128181117abbb04f1e38ad39dab5 /js/navigation.js | |
parent | c602c49d5d7cfc47b0fbd5ee5ed89eabede402ba (diff) | |
parent | c2afea9040e555c4131a75475394a781705eeca2 (diff) |
Merge branch 'QA_4_3'
Diffstat (limited to 'js/navigation.js')
-rw-r--r-- | js/navigation.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/navigation.js b/js/navigation.js index 614c0a93bd..f994951840 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -435,7 +435,9 @@ $(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) { + if ($(this).attr('action').indexOf('form=Navi_panel') >= 0 || + $(this).attr('action').indexOf('form=Main_panel') >= 0 + ) { storage.removeItem('navTree'); } }); |