From a1497ed180e668003c274dda90bfb9ab8bd1963e Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 26 Jun 2012 11:33:29 -0700 Subject: Hiding panel popup if opened when chip popup is opened --- js/panels/color/colorpopup-manager.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/panels/color') diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index b0a523ab..aca2adc7 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js @@ -366,6 +366,8 @@ exports.ColorPopupManager = Montage.create(Component, { this.showGradientChipPopup(e); return; } + //Hidding other popup if opened + if (this._popupBase && this._popupBase.opened) this.hideColorPopup(); // this._popupChipBtn = this.application.ninja.colorController.colorView.currentChip; // -- cgit v1.2.3