From f04f6d26632de6124d458c280581edaed52d6fb1 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 21 Jun 2012 13:48:29 +0200 Subject: [PATCH] TabPanel: add 'selectTab' alias --- source/Ox.UI/js/Panel/TabPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Panel/TabPanel.js b/source/Ox.UI/js/Panel/TabPanel.js index 8fd79fe7..8fcb556d 100644 --- a/source/Ox.UI/js/Panel/TabPanel.js +++ b/source/Ox.UI/js/Panel/TabPanel.js @@ -90,8 +90,8 @@ Ox.TabPanel = function(options, self) { select select (id) -> 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}); }