Repository: ambari
Updated Branches:
  refs/heads/trunk 3b0b2e41d -> 6f6c38310


AMBARI-11062 On Assign Masters page - components are not correctly assigned to 
nodes in combo box on right side according to components and respective nodes 
selected in drop down boxes on left. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 6f6c38310e230dd54f0959fa6dd55e34e7f98678
Parents: 3b0b2e4
Author: aBabiichuk <[email protected]>
Authored: Tue May 12 15:25:00 2015 +0300
Committer: aBabiichuk <[email protected]>
Committed: Tue May 12 15:57:27 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/assign_master_components_view.js | 1 +
 ambari-web/test/views/wizard/step5_view_test.js              | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6f6c3831/ambari-web/app/views/common/assign_master_components_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/assign_master_components_view.js 
b/ambari-web/app/views/common/assign_master_components_view.js
index f8f41ac..d96eca2 100644
--- a/ambari-web/app/views/common/assign_master_components_view.js
+++ b/ambari-web/app/views/common/assign_master_components_view.js
@@ -141,6 +141,7 @@ App.SelectHostView = Em.Select.extend(App.SelectHost, {
    * @method change
    */
   change: function () {
+    this._super();
     this.initContent();
   }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/6f6c3831/ambari-web/test/views/wizard/step5_view_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/wizard/step5_view_test.js 
b/ambari-web/test/views/wizard/step5_view_test.js
index 625eb22..74dc033 100644
--- a/ambari-web/test/views/wizard/step5_view_test.js
+++ b/ambari-web/test/views/wizard/step5_view_test.js
@@ -66,11 +66,13 @@ describe('App.SelectHostView', function() {
 
     beforeEach(function() {
       sinon.stub(view, 'initContent', Em.K);
+      sinon.stub(view, 'changeHandler', Em.K);
       models.setupStackServiceComponent();
     });
 
     afterEach(function() {
       view.initContent.restore();
+      view.changeHandler.restore();
       models.cleanStackServiceComponent();
     });
 

Reply via email to