mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Allow to change the permissions for users.
This commit is contained in:
parent
8e61b06abc
commit
7390f2eccd
18 changed files with 933 additions and 8 deletions
|
@ -260,7 +260,7 @@ class AjaxUI {
|
|||
{
|
||||
return {
|
||||
success: this.onAjaxComplete,
|
||||
beforeSerialize: function() : boolean {
|
||||
beforeSerialize: function($form, options) : boolean {
|
||||
|
||||
//Update the content of textarea fields using CKEDITOR before submitting.
|
||||
//@ts-ignore
|
||||
|
@ -272,6 +272,9 @@ class AjaxUI {
|
|||
}
|
||||
}
|
||||
|
||||
//Check every checkbox field, so that it will be submitted (only valid fields are submitted)
|
||||
$form.find("input[type=checkbox].tristate").prop('checked', true);
|
||||
|
||||
return true;
|
||||
},
|
||||
beforeSubmit: function (arr, $form, options) : boolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue