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 2013/12/16 18:34:13 UTC
git commit: AMBARI-4080. Installer should clear filters on install
failures and click "retry". (Mikhail Bayuk via onechiporenko)
Updated Branches:
refs/heads/trunk 9c2cbdb07 -> fb4a4cf7a
AMBARI-4080. Installer should clear filters on install failures and click "retry". (Mikhail Bayuk via onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fb4a4cf7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fb4a4cf7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fb4a4cf7
Branch: refs/heads/trunk
Commit: fb4a4cf7a7d3cce282c3af423987a632909fe03e
Parents: 9c2cbdb
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Mon Dec 16 19:33:31 2013 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Mon Dec 16 19:34:06 2013 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step3_controller.js | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/fb4a4cf7/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index b5e56dd..0881316 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -232,6 +232,7 @@ App.WizardStep3Controller = Em.Controller.extend({
},
retryHosts: function (hosts) {
+ this.selectAllCategory();
var bootStrapData = JSON.stringify({'verbose': true, 'sshKey': this.get('content.installOptions.sshKey'), 'hosts': hosts.mapProperty('name'), 'user': this.get('content.installOptions.sshUser')});
this.numPolls = 0;
if (this.get('content.installOptions.manualInstall') !== true) {
@@ -616,6 +617,10 @@ App.WizardStep3Controller = Em.Controller.extend({
this.set('category', event.context);
},
+ selectAllCategory: function(){
+ this.set('category', this.get('categories').get('firstObject'));
+ },
+
submit: function () {
if (!this.get('isSubmitDisabled')) {
if(this.get('isHostHaveWarnings')) {