Bug 706736 - unclosed tab recreated in wrong tab group r=tim

This commit is contained in:
Raymond Lee
2011-12-01 15:46:30 +08:00
parent 53085474a4
commit ece7e503b8
4 changed files with 43 additions and 2 deletions

View File

@@ -1147,7 +1147,7 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
let closed = options.dontClose ? false : this.closeIfEmpty();
if (closed ||
(this._children.length == 0 && !gBrowser.selectedTab.pinned &&
(this._children.length == 0 && !gBrowser._numPinnedTabs &&
!item.isDragging)) {
this._makeLastActiveGroupItemActive();
} else if (!options.dontArrange) {