|
@@ -25,6 +25,7 @@ App.HighAvailabilityWizardStep3Controller = Em.Controller.extend({
|
|
serverConfigData: {},
|
|
serverConfigData: {},
|
|
haConfig: $.extend(true, {}, require('data/HDP2/ha_properties').haConfig),
|
|
haConfig: $.extend(true, {}, require('data/HDP2/ha_properties').haConfig),
|
|
once: false,
|
|
once: false,
|
|
|
|
+ isLoaded: false,
|
|
|
|
|
|
clearStep: function () {
|
|
clearStep: function () {
|
|
this.get('stepConfigs').clear();
|
|
this.get('stepConfigs').clear();
|
|
@@ -75,6 +76,7 @@ App.HighAvailabilityWizardStep3Controller = Em.Controller.extend({
|
|
this.set('serverConfigData',data);
|
|
this.set('serverConfigData',data);
|
|
this.tweakServiceConfigs(this.get('haConfig.configs'));
|
|
this.tweakServiceConfigs(this.get('haConfig.configs'));
|
|
this.renderServiceConfigs(this.get('haConfig'));
|
|
this.renderServiceConfigs(this.get('haConfig'));
|
|
|
|
+ this.set('isLoaded', true);
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
@@ -165,7 +167,11 @@ App.HighAvailabilityWizardStep3Controller = Em.Controller.extend({
|
|
serviceConfigProperty.set('isEditable', serviceConfigProperty.get('isReconfigurable'));
|
|
serviceConfigProperty.set('isEditable', serviceConfigProperty.get('isReconfigurable'));
|
|
serviceConfigProperty.validate();
|
|
serviceConfigProperty.validate();
|
|
}, this);
|
|
}, this);
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ isNextDisabled: function () {
|
|
|
|
+ return !this.get('isLoaded');
|
|
|
|
+ }.property('isLoaded')
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|