You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2015/06/22 20:37:09 UTC
ambari git commit: AMBARI-11796-2. List-widget strange behavior state
fix. (Richard Zang via xiwang)
Repository: ambari
Updated Branches:
refs/heads/trunk f36ff36d0 -> 0dc14caec
AMBARI-11796-2. List-widget strange behavior state fix. (Richard Zang via xiwang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0dc14cae
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0dc14cae
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0dc14cae
Branch: refs/heads/trunk
Commit: 0dc14caec4df6c38202200c8bbf7dd71bc4843f1
Parents: f36ff36
Author: Xi Wang <xi...@apache.org>
Authored: Mon Jun 22 11:36:26 2015 -0700
Committer: Xi Wang <xi...@apache.org>
Committed: Mon Jun 22 11:36:35 2015 -0700
----------------------------------------------------------------------
.../app/views/common/configs/widgets/list_config_widget_view.js | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/0dc14cae/ambari-web/app/views/common/configs/widgets/list_config_widget_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/widgets/list_config_widget_view.js b/ambari-web/app/views/common/configs/widgets/list_config_widget_view.js
index a5cf62a..0973898 100644
--- a/ambari-web/app/views/common/configs/widgets/list_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/list_config_widget_view.js
@@ -118,6 +118,7 @@ App.ListConfigWidgetView = App.ConfigWidgetView.extend({
didInsertElement: function () {
this.initPopover();
this._super();
+ this.toggleWidgetState();
this.addObserver('options.@each.isSelected', this, this.calculateVal);
this.addObserver('options.@each.isSelected', this, this.checkSelectedItemsCount);
if (this.isValueCompatibleWithWidget()) {