Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Thu, 15 May 2014 09:13:57 +0000 (17:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 15 May 2014 09:13:57 +0000 (17:13 +0800)
Roo/bootstrap/Input.js

index a9668c6..573a49c 100644 (file)
@@ -327,7 +327,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         };
         Roo.log('input-parentType: ' + this.parentType);
         
-        if (this.parentType === 'NavGroup') {
+        if (this.parentType === 'Navbar' &&  this.parent().bar) {
            cfg.cls += ' navbar-form';
            Roo.log(cfg);
         }