You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2017/06/15 13:25:35 UTC

ambari git commit: AMBARI-21258 Install Wizard: JS error when repository uses VDF. (atkach)

Repository: ambari
Updated Branches:
  refs/heads/trunk f99e7763e -> 58d77239b


AMBARI-21258 Install Wizard: JS error when repository uses VDF. (atkach)


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

Branch: refs/heads/trunk
Commit: 58d77239b70d2295da23d476e5010bb60d4f1c88
Parents: f99e776
Author: Andrii Tkach <at...@apache.org>
Authored: Thu Jun 15 16:00:42 2017 +0300
Committer: Andrii Tkach <at...@apache.org>
Committed: Thu Jun 15 16:00:42 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/installer.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/58d77239/ambari-web/app/controllers/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js
index db9623a..9d7fcd8 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -618,7 +618,13 @@ App.InstallerController = App.WizardController.extend(App.Persist, {
       var stackInfo = {};
       stackInfo.dfd = dataInfo.dfd;
       stackInfo.response = response;
-      this.getSupportedOSList(data, stackInfo);
+      this.incrementProperty('loadStacksRequestsCounter');
+      this.getSupportedOSListSuccessCallback(data, null, {
+        stackName: data.VersionDefinition.stack_name,
+        stackVersion: data.VersionDefinition.stack_version,
+        versionDefinition: data,
+        stackInfo: stackInfo
+      });
     }
   },