mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Only clear tab entries from window.sessionStorage
This commit is contained in:
parent
6a4ec840d2
commit
5b651e4593
@ -669,7 +669,9 @@ jQuery.noConflict();
|
||||
if(url) {
|
||||
s.removeItem('tabs-' + url);
|
||||
} else {
|
||||
for(var i=0;i<s.length;i++) s.removeItem(s.key(i));
|
||||
for(var i=0;i<s.length;i++) {
|
||||
if(s.key(i).match(/^tabs-/)) s.removeItem(s.key(i));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user