ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject [1/2] ambari git commit: AMBARI-11796. List-widget strange behavior. (Richard Zang via xiwang)
Date Wed, 17 Jun 2015 19:31:31 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 488acc50c -> 54b715b5c


AMBARI-11796. List-widget strange behavior. (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/54b715b5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/54b715b5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/54b715b5

Branch: refs/heads/branch-2.1
Commit: 54b715b5cf23db8183f5a62febafb601f6835b6c
Parents: 99fe809
Author: Xi Wang <xiwang@apache.org>
Authored: Wed Jun 17 12:30:23 2015 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Wed Jun 17 12:30:31 2015 -0700

----------------------------------------------------------------------
 .../app/templates/common/configs/widgets/list_config_widget.hbs    | 2 +-
 .../app/views/common/configs/widgets/list_config_widget_view.js    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/54b715b5/ambari-web/app/templates/common/configs/widgets/list_config_widget.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/configs/widgets/list_config_widget.hbs b/ambari-web/app/templates/common/configs/widgets/list_config_widget.hbs
index c2a2175..c53ebc8 100644
--- a/ambari-web/app/templates/common/configs/widgets/list_config_widget.hbs
+++ b/ambari-web/app/templates/common/configs/widgets/list_config_widget.hbs
@@ -16,7 +16,7 @@
 * limitations under the License.
 }}
 
-<div {{bindAttr class="view.config.isHiddenByFilter:hide view.isOriginalSCP:original-widget
:widget-config :list-widget"}}>
+<div {{bindAttr class="view.config.isHiddenByFilter:hide view.isOriginalSCP:original-widget"}}>
   {{template "templates/common/configs/widgets/config_label"}}
   <div class="pull-left btn-group">
     <a {{bindAttr class=":btn :dropdown-toggle view.config.isEditable::disabled view.config.showAsTextBox:hide"}}
data-toggle="dropdown">{{view.displayVal}} <span class="caret"></span></a>

http://git-wip-us.apache.org/repos/asf/ambari/blob/54b715b5/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 37b9453..a5cf62a 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
@@ -40,7 +40,7 @@ var configOption = Em.Object.extend({
  * @type {App.ConfigWidgetView}
  */
 App.ListConfigWidgetView = App.ConfigWidgetView.extend({
-
+  classNames: ['widget-config', 'list-widget'],
   supportSwitchToCheckBox: true,
 
   /**


Mime
View raw message