From d93bb991ebb1cf3b9a58d825556142ce9e038c91 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jan 2021 14:51:24 +0800 Subject: [PATCH] roojs-bootstrap.js roojs-bootstrap-debug.js --- roojs-bootstrap-debug.js | 2 +- roojs-bootstrap.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index a1f54915fc..b46f1f56c2 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -20026,7 +20026,7 @@ Roo.bootstrap.PopoverNav = function(config){ Roo.bootstrap.PopoverNav.superclass.constructor.call(this, config); }; -Roo.extend(Roo.bootstrap.NavSimplebar, Roo.bootstrap.NavGroup, { +Roo.extend(Roo.bootstrap.PopoverNav, Roo.bootstrap.NavSimplebar, { container_method : 'getPopoverHeader' diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 18100a2466..cd375cb96c 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -827,7 +827,7 @@ this.el.removeClass('in');this.el.hide();this.hoverState=null;this.maskEl.hide() ,zIndex:20001,clickHander:false,onMouseDown:function(e){if(!e.getTarget(".roo-popover")){this.hideAll();}},popups:[],register:function(A){if(!Roo.bootstrap.Popover.clickHandler){Roo.bootstrap.Popover.clickHandler=Roo.get(document).on("mousedown",Roo.bootstrap.Popover.onMouseDown,Roo.bootstrap.Popover); }this.hideAll();this.popups.push(A);},hideAll:function(){this.popups.forEach(function(p){p.hide();});}}); // Roo/bootstrap/PopoverNav.js -Roo.bootstrap.PopoverNav=function(A){Roo.bootstrap.PopoverNav.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.NavSimplebar,Roo.bootstrap.NavGroup,{container_method:'getPopoverHeader'}); +Roo.bootstrap.PopoverNav=function(A){Roo.bootstrap.PopoverNav.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.PopoverNav,Roo.bootstrap.NavSimplebar,{container_method:'getPopoverHeader'}); // Roo/bootstrap/Progress.js Roo.bootstrap.Progress=function(A){Roo.bootstrap.Progress.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.Progress,Roo.bootstrap.Component,{striped:false,active:false,getAutoCreate:function(){var A={tag:'div',cls:'progress'};if(this.striped){A.cls+=' progress-striped'; }if(this.active){A.cls+=' active';}return A;}}); -- 2.39.2