Roo/bootstrap/Navbar/Item.js
authorAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 07:53:49 +0000 (15:53 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 07:53:49 +0000 (15:53 +0800)
Roo/bootstrap/Navbar/Item.js

index 140d3a3..7009635 100644 (file)
@@ -170,8 +170,8 @@ Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component,  {
         };
         
         if (['tabs','pills'].indexOf(this.parent().type)!==-1) {
-            if (typeof(this.parent().setActive) !== 'undefined') {
-               this.parent().setActive(this);
+            if (typeof(this.parent().setActiveItem) !== 'undefined') {
+               this.parent().setActiveItem(this);
            }