mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 10:51:35 +00:00
window/Edit.js: implement autoLoad feature
This commit is contained in:
parent
f0372135cd
commit
a33ba257ed
@ -4,6 +4,9 @@ Ext.define('Proxmox.window.Edit', {
|
||||
extend: 'Ext.window.Window',
|
||||
alias: 'widget.proxmoxWindowEdit',
|
||||
|
||||
// autoLoad trigger a load() after component creation
|
||||
autoLoad: false,
|
||||
|
||||
resizable: false,
|
||||
|
||||
// use this tio atimatically generate a title like
|
||||
@ -291,5 +294,9 @@ Ext.define('Proxmox.window.Edit', {
|
||||
me.isValid();
|
||||
me.suspendLayout = false;
|
||||
});
|
||||
|
||||
if (me.autoLoad) {
|
||||
me.load();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user