sync
authorAlan Knowles <alan@roojs.com>
Fri, 8 Jan 2021 04:48:00 +0000 (12:48 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 8 Jan 2021 04:48:00 +0000 (12:48 +0800)
Roo/bootstrap/breadcrumb/Nav.js
roojs-bootstrap-debug.js
roojs-bootstrap.js

index 0f5dffe..f2cfef7 100644 (file)
@@ -18,6 +18,8 @@
  * @param {Object} config The config object
  */
 
+Roo.namespace('Roo.bootstrap.breadcrumb');
+
 Roo.bootstrap.breadcrumb.Nav = function(config){
     Roo.bootstrap.breadcrumb.Nav.superclass.constructor.call(this, config);
     
index 1affb44..0766025 100644 (file)
@@ -6621,6 +6621,8 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
  * @param {Object} config The config object
  */
 
+Roo.namespace('Roo.bootstrap.breadcrumb');
+
 Roo.bootstrap.breadcrumb.Nav = function(config){
     Roo.bootstrap.breadcrumb.Nav.superclass.constructor.call(this, config);
     
index a01bfb9..65e980d 100644 (file)
@@ -273,8 +273,8 @@ return;}if(this.preventDefault){e.preventDefault();}this.fireEvent('click',this,
 return;}this.el.removeClass('disabled');return;},setActive:function(A){if(this.active==A){return;}this.active=A;if(A){this.el.addClass('active');return;}this.el.removeClass('active');return;},isActive:function(){return this.active;},setBadge:function(A){if(!this.badgeEl){return;
 }this.badgeEl.dom.innerHTML=A;}});
 // Roo/bootstrap/breadcrumb/Nav.js
-Roo.bootstrap.breadcrumb.Nav=function(A){Roo.bootstrap.breadcrumb.Nav.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.breadcrumb.Nav,Roo.bootstrap.Component,{getAutoCreate:function(){var A={tag:'nav',cn:[{tag:'ol',cls:'breadcrumb'}]};return A;
-},initEvents:function(){this.olEl=this.el.select('ol',true).first();},getChildContainer:function(){return this.olEl;}});
+Roo.namespace('Roo.bootstrap.breadcrumb');Roo.bootstrap.breadcrumb.Nav=function(A){Roo.bootstrap.breadcrumb.Nav.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.breadcrumb.Nav,Roo.bootstrap.Component,{getAutoCreate:function(){var A={tag:'nav',cn:[{tag:'ol',cls:'breadcrumb'}
+]};return A;},initEvents:function(){this.olEl=this.el.select('ol',true).first();},getChildContainer:function(){return this.olEl;}});
 // Roo/bootstrap/breadcrumb/Item.js
 Roo.bootstrap.breadcrumb.Item=function(A){Roo.bootstrap.breadcrumb.Item.superclass.constructor.call(this,A);this.addEvents({"click":true});};Roo.extend(Roo.bootstrap.breadcrumb.Item,Roo.bootstrap.Component,{href:false,html:'',getAutoCreate:function(){var A={tag:'li',cls:'breadcrumb-item'+(this.active?' active':'')}
 ;if(this.href!==false){A.cn=[{tag:'a',href:this.href,html:this.html}];}else{A.html=this.html;}return A;},initEvents:function(){if(this.href){this.el.select('a',true).first().onClick(this.onClick,this)}},onClick:function(e){e.preventDefault();this.fireEvent('click',this,e);