зеркало из https://github.com/mozilla/pjs.git
Bug 586198 - Incorrect placement of tab after Undo Close Tab in Tab Candy [r=dolske a=blocking2.0:beta4]
Explicitly wipe out tab storage data on close so that undo close tab acts like a brand new tab. --HG-- extra : rebase_source : f05ab57dff8a10be9df9e93bb128a4b716336c7a
This commit is contained in:
Родитель
2a451e1c8d
Коммит
bc1421a901
|
@ -856,6 +856,7 @@ window.TabItems = {
|
||||||
Items.unsquish(null, tab.tabItem);
|
Items.unsquish(null, tab.tabItem);
|
||||||
|
|
||||||
tab.tabItem = null;
|
tab.tabItem = null;
|
||||||
|
Storage.saveTab(tab, null);
|
||||||
|
|
||||||
let index = this._tabsWaitingForUpdate.indexOf(tab);
|
let index = this._tabsWaitingForUpdate.indexOf(tab);
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче