You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2014/05/30 18:24:35 UTC

git commit: AMBARI-5967. Slider Wizard flickering. (onechiporenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.0.slider 39bf3de55 -> ac209bf3b


AMBARI-5967. Slider Wizard flickering. (onechiporenko)


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

Branch: refs/heads/branch-1.6.0.slider
Commit: ac209bf3b0b31be35468dba3234b5e60d0bd63d3
Parents: 39bf3de
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Fri May 30 19:14:20 2014 +0300
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Fri May 30 19:14:20 2014 +0300

----------------------------------------------------------------------
 .../ui/app/controllers/createAppWizard/step2_controller.js        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ac209bf3/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step2_controller.js
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step2_controller.js b/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step2_controller.js
index c9e57ff..5ebecb5 100644
--- a/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step2_controller.js
+++ b/contrib/views/slider/src/main/resources/ui/app/controllers/createAppWizard/step2_controller.js
@@ -63,6 +63,7 @@ App.CreateAppWizardStep2Controller = Ember.ArrayController.extend({
    */
   loadStep: function () {
     this.initializeNewApp();
+    this.loadTypeComponents();
   },
 
   /**
@@ -94,7 +95,7 @@ App.CreateAppWizardStep2Controller = Ember.ArrayController.extend({
       });
       this.set('content', content);
     }
-  }.observes('newApp.appType.components.length'),
+  },
 
   /**
    * Check if param is integer