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/branch-feature-AMBARI-18634
Commit: 512905dc80170aa8d4b89d36c7d37dabed42a037
Parents: d2cc32e
Author: Oleg Nechiporenko <[email protected]>
Authored: Wed Nov 2 14:05:08 2016 +0200
Committer: Oleg Nechiporenko <[email protected]>
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);

Reply via email to