mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 596450 - DOM attribute for the tab node needed which references the tabgroup; r=ttaubert
This commit is contained in:
parent
804ba7cad5
commit
ede9b95c13
@ -122,6 +122,7 @@ function GroupItem(listOfEls, options) {
|
||||
this.isDragging = false;
|
||||
$container
|
||||
.css({zIndex: -100})
|
||||
.attr("data-id", this.id)
|
||||
.appendTo("body");
|
||||
|
||||
// ___ Resizer
|
||||
@ -1050,6 +1051,7 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
|
||||
item.addSubscriber("close", this._onChildClose);
|
||||
item.setParent(this);
|
||||
$el.attr("data-group", this.id);
|
||||
|
||||
if (typeof item.setResizable == 'function')
|
||||
item.setResizable(false, options.immediately);
|
||||
@ -1135,6 +1137,7 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
this._activeTab = null;
|
||||
}
|
||||
|
||||
$el[0].removeAttribute("data-group");
|
||||
item.setParent(null);
|
||||
item.removeClass("stacked");
|
||||
item.isStacked = false;
|
||||
|
Loading…
Reference in New Issue
Block a user