Roo/bootstrap/Container.js
authorjohn <john@roojs.com>
Thu, 21 Jun 2018 09:20:46 +0000 (17:20 +0800)
committerjohn <john@roojs.com>
Thu, 21 Jun 2018 09:20:46 +0000 (17:20 +0800)
roojs-bootstrap.js
roojs-bootstrap-debug.js

Roo/bootstrap/Container.js
roojs-bootstrap-debug.js
roojs-bootstrap.js

index 1313b4a..ef27662 100644 (file)
@@ -394,7 +394,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
     
     isEmpty : function()
     {
-        var items = getItems();
+        var items = this.getItems();
         
         Roo.log(items);
     }
index 6540401..a161ed4 100644 (file)
@@ -1399,7 +1399,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
     
     isEmpty : function()
     {
-        var items = getItems();
+        var items = this.getItems();
         
         Roo.log(items);
     }
index b28b32d..1ba66cc 100644 (file)
@@ -51,7 +51,7 @@ return;}this.expand();},expand:function(){if(this.fireEvent('expand',this)){this
 }return this.el.select('.panel-heading .fa',true).first();},headerEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-heading',true).first()},bodyEl:function(){if(!this.el||!this.panel.length){return;}
 return this.el.select('.panel-body',true).first()},titleEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-title',true).first();},setTitle:function(v){var A=this.titleEl();if(!A){return;}A.dom.innerHTML=v;
 },getTitle:function(){var A=this.titleEl();if(!A){return '';}return A.dom.innerHTML;},setRightTitle:function(v){var t=this.el.select('.panel-header-right',true).first();if(!t){return;}t.dom.innerHTML=v;},onClick:function(e){e.preventDefault();this.fireEvent('click',this,e);
-},getItems:function(){var r=new Roo.util.MixedCollection(false,function(o){return o.id||(o.id=Roo.id());});var A=function(el){if(el.inputEl){r.add(el);}if(!el.items){return;}Roo.each(el.items,function(e){A(e);});};A(this);return r;},isEmpty:function(){var A=getItems();
+},getItems:function(){var r=new Roo.util.MixedCollection(false,function(o){return o.id||(o.id=Roo.id());});var A=function(el){if(el.inputEl){r.add(el);}if(!el.items){return;}Roo.each(el.items,function(e){A(e);});};A(this);return r;},isEmpty:function(){var A=this.getItems();
 Roo.log(A);}});
 // Roo/bootstrap/Img.js
 Roo.bootstrap.Img=function(A){Roo.bootstrap.Img.superclass.constructor.call(this,A);this.addEvents({"click":true});};Roo.extend(Roo.bootstrap.Img,Roo.bootstrap.Component,{imgResponsive:true,border:'',src:'about:blank',href:false,target:false,xsUrl:'',smUrl:'',mdUrl:'',lgUrl:'',getAutoCreate:function(){if(this.src||(!this.xsUrl&&!this.smUrl&&!this.mdUrl&&!this.lgUrl)){return this.createSingleImg();