diff --git a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl
index 24d51bd57..385de430a 100644
--- a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl
+++ b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl
@@ -28,7 +28,7 @@
{block name="label"}
{if $input['type'] == 'modules'}
-
+
{elseif $input['type'] == 'group_discount_category'}
@@ -63,39 +63,6 @@
});
}
- function toogleCheck(elt)
- {
- if ($(elt).hasClass('select_all'))
- {
- $(elt).addClass('unselect_all').removeClass('select_all');
- $('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').removeAttr('checked');
- $(elt).html('{l s='Select all'}');
- }
- else
- {
- $(elt).addClass('select_all').removeClass('unselect_all');
- $('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').attr('checked', true);
- $(elt).html('{l s='Unselect all'}');
- }
- }
-
- function unauthorizeChecked()
- {
- $('ul#sortable_module_unauthorize_list').find('input[type="checkbox"]:checked').each( function () {
- $('ul#sortable_module_authorize_list').prepend($(this).parent());
- $(this).removeAttr('checked');
- $(this).parent().children('input["type=hidden"]').attr('name', 'modulesBoxAuth[]');
- });
- }
-
- function authorizeChecked()
- {
- $('ul#sortable_module_authorize_list').find('input[type="checkbox"]:checked').each( function () {
- $('ul#sortable_module_unauthorize_list').prepend($(this).parent());
- $(this).removeAttr('checked');
- $(this).parent().children('input["type=hidden"]').attr('name', 'modulesBoxUnauth[]');
- });
- }
function addCategoryReduction()
{
@@ -206,54 +173,47 @@