This is an automated email from the ASF dual-hosted git repository.
jgolieb pushed a commit to branch branch-feature-AMBARI-14714
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-feature-AMBARI-14714 by
this push:
new 05ffef5 [AMBARI-24788] Fix async bug in installer config page initial
load
05ffef5 is described below
commit 05ffef5b6640a4adcc7af7fff1bec774539a55ae
Author: Jason Golieb <[email protected]>
AuthorDate: Tue Oct 16 10:53:20 2018 -0400
[AMBARI-24788] Fix async bug in installer config page initial load
---
ambari-web/app/controllers/installer.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ambari-web/app/controllers/installer.js
b/ambari-web/app/controllers/installer.js
index 83c8d7c..6fc0329 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -1402,9 +1402,7 @@ App.InstallerController =
App.WizardController.extend(App.Persist, {
if (!this.get('stackConfigsLoaded')) {
// Load stack configs before loading themes
-
App.config.loadClusterConfigsFromStack().always(self.loadServiceConfigs.bind(self)).always(()
=> {
- dfd.resolve();
- });
+ App.config.loadClusterConfigsFromStack().always(() =>
self.loadServiceConfigs().always(() => dfd.resolve()));
} else {
dfd.resolve();
}