webui: preload automember default group select list

- the reload also fixes vertical align in Firefox (input gets
  display='inline' style).

Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
Petr Vobornik 2014-04-22 14:22:39 +02:00
parent 5499022782
commit 4f45e3ea92

View File

@ -688,6 +688,7 @@ IPA.automember.default_group_widget = function(spec) {
that.group_select_node = $('<div/>', { 'class': 'automember-header-control' }); that.group_select_node = $('<div/>', { 'class': 'automember-header-control' });
that.group_select.create(that.group_select_node); that.group_select.create(that.group_select_node);
that.group_select_node.appendTo(container); that.group_select_node.appendTo(container);
that.group_select.update([]); // preload groups
}; };
that.get_title = function() { that.get_title = function() {