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: }); }) ;