You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/05/27 00:59:29 UTC

ambari git commit: AMBARI-11287. Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded. (2nd patch) (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk d14f04444 -> 031d3e782


AMBARI-11287. Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded. (2nd patch) (jaimin)


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

Branch: refs/heads/trunk
Commit: 031d3e782d22e5aea70e8a1a4c1f52be99e1d6a6
Parents: d14f044
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Tue May 26 15:59:07 2015 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Tue May 26 15:59:07 2015 -0700

----------------------------------------------------------------------
 .../controllers/main/service/widgets/create/wizard_controller.js    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/031d3e78/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js b/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js
index b7d1d5f..8ca7fcb 100644
--- a/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js
+++ b/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js
@@ -193,6 +193,7 @@ App.WidgetWizardController = App.WizardController.extend({
         dfd.resolve(self.get('content.allMetrics'));
       });
     } else {
+      this.set("content.isMetricsLoaded", true);
       this.set('content.allMetrics', allMetrics);
       dfd.resolve(allMetrics);
     }