ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-18772. Bg Ops popup is not shown (onechiporenko)
Date Wed, 02 Nov 2016 13:15:06 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk d2cc32e88 -> 512905dc8


AMBARI-18772. Bg Ops popup is not shown (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/512905dc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/512905dc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/512905dc

Branch: refs/heads/trunk
Commit: 512905dc80170aa8d4b89d36c7d37dabed42a037
Parents: d2cc32e
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Wed Nov 2 14:05:08 2016 +0200
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Wed Nov 2 15:15:01 2016 +0200

----------------------------------------------------------------------
 .../app/controllers/global/background_operations_controller.js   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/512905dc/ambari-web/app/controllers/global/background_operations_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/background_operations_controller.js b/ambari-web/app/controllers/global/background_operations_controller.js
index 518f5ba..9612141 100644
--- a/ambari-web/app/controllers/global/background_operations_controller.js
+++ b/ambari-web/app/controllers/global/background_operations_controller.js
@@ -371,7 +371,9 @@ App.BackgroundOperationsController = Em.Controller.extend({
       if(self.get('popupView') && App.HostPopup.get('isBackgroundOperations')){
         self.set ('popupView.isNotShowBgChecked', !initValue);
         self.set('popupView.isOpen', true);
-        $(self.get('popupView.element')).appendTo('#wrapper');
+        var el = $(self.get('popupView.element'));
+        el.appendTo('#wrapper');
+        el.find('.modal').show();
       } else {
         self.set('popupView', App.HostPopup.initPopup("", self, true));
         self.set('popupView.isNotShowBgChecked', !initValue);


Mime
View raw message