Преглед изворни кода

[security] Auto-size the Hadoop Groups dropdown in the Hive app

Enrico Berti пре 10 година
родитељ
комит
8849ae7d8e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/security/src/security/templates/hive.mako

+ 1 - 1
apps/security/src/security/templates/hive.mako

@@ -134,7 +134,7 @@ ${ layout.menubar(section='hive') }
           <li class="nav-header"><i class="fa fa-group"></i> ${ _('Groups') }
             <div>
             <br/>
-             <select id="selectedGroup" data-bind="options: $root.selectableHadoopGroups, select2: { update: $data.action, type: 'action', allowClear: true }" style="width: 100%"></select>
+             <select id="selectedGroup" data-bind="options: $root.selectableHadoopGroups, select2: { dropdownAutoWidth: true, update: $data.action, type: 'action', allowClear: true }" style="width: 100%"></select>
             </div>
           </li>
         </ul>