ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject git commit: AMBARI-2715. BG operations window behavior is unreliable. (Antonenko Alexander via yusaku)
Date Wed, 24 Jul 2013 01:19:46 GMT
Updated Branches:
  refs/heads/branch-1.2.5 23612cf17 -> 797f1cfae


AMBARI-2715. BG operations window behavior is unreliable. (Antonenko Alexander via yusaku)


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

Branch: refs/heads/branch-1.2.5
Commit: 797f1cfaeacd40290bba7b045ab3812190a04ee0
Parents: 23612cf
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Tue Jul 23 18:18:50 2013 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Tue Jul 23 18:19:29 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/utils/host_progress_popup.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/797f1cfa/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index 5c79436..1d300b7 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -474,7 +474,7 @@ App.HostPopup = Em.Object.create({
       }),
       classNames: ['sixty-percent-width-modal'],
       autoHeight: false,
-      onPrimary: function () {
+      closeModelPopup: function () {
         this.set('isOpen', false);
         if(showServices){
           $(this.get('element')).detach();
@@ -482,6 +482,12 @@ App.HostPopup = Em.Object.create({
           this.hide();
         }
       },
+      onPrimary: function () {
+        this.closeModelPopup();
+      },
+      onClose: function () {
+        this.closeModelPopup();
+      },
       secondary: null,
 
       bodyClass: Ember.View.extend({
@@ -534,6 +540,7 @@ App.HostPopup = Em.Object.create({
             this.set('isTaskListHidden', true);
             this.set('isHostListHidden', true);
             this.set('isServiceListHidden', false);
+            this.get("controller").setBackgroundOperationHeader();
             this.setOnStart();
           }
         }.observes('parentView.isOpen'),


Mime
View raw message