diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js --- a/kallithea/public/js/base.js +++ b/kallithea/public/js/base.js @@ -1778,12 +1778,6 @@ var MultiSelectWidget = function(selecte $('#remove_element').click(function(e){ $availableselect.append($selectedselect.children('option:selected')); }); - $('#add_all_elements').click(function(e){ - $selectedselect.append($availableselect.children('option')); - }); - $('#remove_all_elements').click(function(e){ - $availableselect.append($selectedselect.children('option')); - }); $('#'+form_id).submit(function(){ $selectedselect.children('option').each(function(i, e){ diff --git a/kallithea/templates/admin/user_groups/user_group_edit_settings.html b/kallithea/templates/admin/user_groups/user_group_edit_settings.html --- a/kallithea/templates/admin/user_groups/user_group_edit_settings.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_settings.html @@ -39,10 +39,6 @@ ${h.form(url('users_group', id=c.user_gr
${_('Chosen group members')}
${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")} -
- ${_('Remove all elements')} - -
@@ -52,9 +48,6 @@ ${h.form(url('users_group', id=c.user_gr
${_('Available members')}
${h.select('available_members',[],c.available_members,multiple=True,size=8,style="min-width:210px")} -
- ${_('Add all elements')} -