Updated Branches:
  refs/heads/branch-1.2.5 78e6b378a -> 4b20a9997

AMBARI-2652. Unable to add component from host details page. (Aleksandr 
Kovalenko 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/4b20a999
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/4b20a999
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/4b20a999

Branch: refs/heads/branch-1.2.5
Commit: 4b20a9997c4e5ae12ad7330d058f9f2261de49cc
Parents: 78e6b37
Author: Yusaku Sako <[email protected]>
Authored: Wed Jul 17 10:48:09 2013 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Wed Jul 17 10:50:08 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/details.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/4b20a999/ambari-web/app/controllers/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/details.js 
b/ambari-web/app/controllers/main/host/details.js
index 45c1b32..15e8c54 100644
--- a/ambari-web/app/controllers/main/host/details.js
+++ b/ambari-web/app/controllers/main/host/details.js
@@ -239,7 +239,7 @@ App.MainHostDetailsController = Em.Controller.extend({
         }),
         onPrimary: function () {
           this.hide();
-          this.primary(component);
+          self.primary(component);
         }
       });
     }

Reply via email to