Updated Branches:
  refs/heads/trunk b5674c5bb -> 318a7983f

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/318a7983
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/318a7983
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/318a7983

Branch: refs/heads/trunk
Commit: 318a7983f8749b6016500650728b9969e1be4388
Parents: b5674c5
Author: Yusaku Sako <[email protected]>
Authored: Wed Jul 17 10:48:09 2013 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Wed Jul 17 10:48:09 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/318a7983/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