You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/09/04 15:54:55 UTC
[3/3] ambari git commit: AMBARI-13013. 'Metrics and Expression'
window is empty for Number widget (alexantonenko)
AMBARI-13013. 'Metrics and Expression' window is empty for Number widget (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a9d52fad
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a9d52fad
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a9d52fad
Branch: refs/heads/branch-2.1
Commit: a9d52fad88fec9dd809664404073d96442c828d2
Parents: 3929b06
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Sep 4 16:38:35 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Sep 4 16:53:56 2015 +0300
----------------------------------------------------------------------
ambari-web/app/routes/create_widget.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a9d52fad/ambari-web/app/routes/create_widget.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/create_widget.js b/ambari-web/app/routes/create_widget.js
index 609509e..7975811 100644
--- a/ambari-web/app/routes/create_widget.js
+++ b/ambari-web/app/routes/create_widget.js
@@ -80,12 +80,12 @@ module.exports = App.WizardRoute.extend({
widgetWizardController.save('widgetType', widgetStep1controller.get('widgetType'));
widgetWizardController.setDBProperties({
widgetProperties: {},
- widgetMetrics: {},
- allMetrics: {},
- widgetValues: {},
- expressions: {},
- dataSets: {},
- templateValue: {}
+ widgetMetrics: [],
+ allMetrics: [],
+ widgetValues: [],
+ expressions: [],
+ dataSets: [],
+ templateValue: ''
});
router.transitionTo('step2');
}