MexUI stuff
This commit is contained in:
6
third-party/mexui/Core/Entry/Tab.js
vendored
6
third-party/mexui/Core/Entry/Tab.js
vendored
@@ -1,7 +1,7 @@
|
||||
mexui.Entry.Tab = function(tabPanel, text)
|
||||
{
|
||||
mexui.Component.Entry.call(this, tabPanel, 0);
|
||||
|
||||
|
||||
this.text = text;
|
||||
this.controls = [];
|
||||
};
|
||||
@@ -18,9 +18,9 @@ mexui.Entry.Tab.prototype.setActive = function()
|
||||
{
|
||||
for(var i in this.control.entries[this.control.activeTabIndex].controls)
|
||||
this.control.entries[this.control.activeTabIndex].controls[i].shown = false;
|
||||
|
||||
|
||||
this.control.activeTabIndex = this.getEntryIndex();
|
||||
|
||||
|
||||
for(var i in this.control.entries[this.control.activeTabIndex].controls)
|
||||
this.control.entries[this.control.activeTabIndex].controls[i].shown = true;
|
||||
};
|
||||
Reference in New Issue
Block a user