mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-24 09:07:18 +01:00
* [MOD] Allows to select user's group in the account's main group select.
This commit is contained in:
@@ -142,14 +142,7 @@
|
||||
labelField: 'name',
|
||||
searchField: ['name'],
|
||||
plugins: ['remove_button'],
|
||||
options: <?php echo $otherGroupsJson; ?>,
|
||||
onInitialize: function () {
|
||||
var userGroupId = <?php echo $gotData ? $accountData->getAccountUserGroupId() : 0; ?>;
|
||||
|
||||
if (userGroupId > 0) {
|
||||
this.removeOption(userGroupId);
|
||||
}
|
||||
}
|
||||
options: <?php echo $otherGroupsJson; ?>
|
||||
});
|
||||
})
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user