mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-04 15:49:11 +00:00
js/UserEdit.js: use new autoLoad property
This commit is contained in:
parent
2d1e22dd87
commit
c62792c131
@ -212,14 +212,11 @@ Ext.define('PMG.UserEdit', {
|
||||
me.url = '/api2/extjs/access/users';
|
||||
me.method = 'POST';
|
||||
} else {
|
||||
me.autoLoad = true;
|
||||
me.url = '/api2/extjs/access/users/' + userid;
|
||||
me.method = 'PUT';
|
||||
}
|
||||
|
||||
me.callParent();
|
||||
|
||||
if (userid) {
|
||||
me.load();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user