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 <[email protected]> Authored: Fri May 30 19:14:20 2014 +0300 Committer: Oleg Nechiporenko <[email protected]> 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
