onMouseDown : function(e)
{
- if (!e.getTarget(".roo-popover")) {
+ if (this.popup.length, !e.getTarget(".roo-popover") && this.popup.length) {
/// what is nothing is showing..
this.hideAll();
}
}
// hide other popups.
popup.on('show', Roo.bootstrap.Popover.onShow);
- popup.on('hide', Roo.bootstrap.Popover.onShow);
+ popup.on('hide', Roo.bootstrap.Popover.onHide);
this.hideAll();
this.popups.push(popup);
},