Only clear tab entries from window.sessionStorage

This commit is contained in:
Ingo Schommer 2013-06-15 11:16:11 +02:00
parent 6a4ec840d2
commit 5b651e4593

View File

@ -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));
}
}
},