From a74136dcd397c128e3a483e116789c023323e784 Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Wed, 1 Feb 2017 18:40:49 +0100 Subject: [PATCH] * [MOD] Allows to select user's group in the account's main group select. --- .../material-blue/views/account/account-permissions.inc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/inc/themes/material-blue/views/account/account-permissions.inc b/inc/themes/material-blue/views/account/account-permissions.inc index 9df0d25e..8e631fd4 100644 --- a/inc/themes/material-blue/views/account/account-permissions.inc +++ b/inc/themes/material-blue/views/account/account-permissions.inc @@ -142,14 +142,7 @@ labelField: 'name', searchField: ['name'], plugins: ['remove_button'], - options: , - onInitialize: function () { - var userGroupId = getAccountUserGroupId() : 0; ?>; - - if (userGroupId > 0) { - this.removeOption(userGroupId); - } - } + options: }); }) ;