forked from 0x2620/oxjs
fix selecting tab via .select in tab panel
This commit is contained in:
parent
d10deb81aa
commit
319608b5ac
2 changed files with 11 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ Ox.TabPanel = function(options, self) {
|
|||
|
||||
that.select = function(id) {
|
||||
if (Ox.getIndexById(self.options.tabs, id) > -1) {
|
||||
self.$tabs.select(id);
|
||||
self.$tabs.options({value: id});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue