TabPanel: add 'selectTab' alias
This commit is contained in:
parent
93a9805da7
commit
f04f6d2663
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ Ox.TabPanel = function(options, self) {
|
|||
select <f> select
|
||||
(id) -> <o> select panel
|
||||
@*/
|
||||
// fixme: does this collide with a jquery fn?
|
||||
that.select = function(id) {
|
||||
// FIXME: remove select (collides with a jquery method)
|
||||
that.select = that.selectTab = function(id) {
|
||||
if (Ox.getIndexById(self.options.tabs, id) > -1) {
|
||||
self.$tabs.options({value: id});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue