Use new ResourceSelect in user info panel

This commit is contained in:
Daniel Molina committed 2016-01-20 18:28:49 +01:00
1 parent b062783308
commit 1c0ee159c9
1 file changed
+5 -1
@@ -110,7 +110,11 @@ define(function(require) {
// Chgrp
context.off("click", "#div_edit_chg_group_link");
context.on("click", "#div_edit_chg_group_link", function() {
ResourceSelect.insert("#value_td_group", context, "Group", that.element.GID, false);
ResourceSelect.insert({
context: $('#value_td_group', context),
resourceName: 'Group',
initValue: that.element.GID
});
});
context.off("change", "#value_td_group .resource_list_select");