Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 3e1d7cb6e -> 27a6fda5e


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/27a6fda5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/27a6fda5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/27a6fda5

Branch: refs/heads/branch-2.4
Commit: 27a6fda5ec45d4ddf523b094113d74077bc2721d
Parents: 3e1d7cb
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Tue May 17 18:09:32 2016 +0300
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Tue May 17 18:49:21 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/27a6fda5/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>

Reply via email to