[pve-devel] [PATCH manager 2/2] ui: tasks: use autoshow instead of win.show
Aaron Lauterer
a.lauterer at proxmox.com
Mon Nov 11 15:45:29 CET 2024
This is the current approach to create new windows and will align it to
the other handler (action column).
Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
www/manager6/dc/Tasks.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/dc/Tasks.js b/www/manager6/dc/Tasks.js
index 43d0dace..a00027ea 100644
--- a/www/manager6/dc/Tasks.js
+++ b/www/manager6/dc/Tasks.js
@@ -42,11 +42,11 @@ Ext.define('PVE.dc.Tasks', {
return;
}
- var win = Ext.create('Proxmox.window.TaskViewer', {
+ Ext.create('Proxmox.window.TaskViewer', {
+ autoShow: true,
upid: rec.data.upid,
endtime: rec.data.endtime,
});
- win.show();
};
Ext.apply(me, {
--
2.39.5
More information about the pve-devel
mailing list