ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-16712. Add id to combo widget (alexantonenko)
Date Tue, 17 May 2016 15:48:47 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 1893d15f9 -> 0ed6f8a8e


AMBARI-16712. Add id to combo widget (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 0ed6f8a8eb2107220977ebc1429b9cb469c2bdf9
Parents: 1893d15
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Tue May 17 18:09:32 2016 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue May 17 18:48:46 2016 +0300

----------------------------------------------------------------------
 .../app/templates/common/configs/widgets/combo_config_widget.hbs   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0ed6f8a8/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs b/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
index f3d03da..a42486f 100644
--- a/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
+++ b/ambari-web/app/templates/common/configs/widgets/combo_config_widget.hbs
@@ -26,7 +26,7 @@
       <ul {{bindAttr class=":pull-left :dropdown-menu"}}>
         {{#each item in view.content.valuesList}}
           <li>
-            <a href="#" {{action setConfigValue item.configValue target="view"}}>{{item.widgetValue}}</a>
+            <a href="#" {{bindAttr class="item.widgetValue :btn-dropdown-menu-combo-config"}}
{{action setConfigValue item.configValue target="view"}}>{{item.widgetValue}}</a>
           </li>
         {{/each}}
       </ul>


Mime
View raw message