[pve-devel] [PATCH pve-manager] Use Ext.apply instead of applyIf when loading a task window

Emmanuel Kasper e.kasper at proxmox.com
Mon Apr 4 12:03:26 CEST 2016


Without this the window title is not displayed
---
 www/manager6/window/TaskViewer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/window/TaskViewer.js b/www/manager6/window/TaskViewer.js
index c3cea39..0750ffd 100644
--- a/www/manager6/window/TaskViewer.js
+++ b/www/manager6/window/TaskViewer.js
@@ -49,7 +49,7 @@ Ext.define('PVE.window.TaskProgress', {
 
 	var descr = PVE.Utils.format_task_description(task.type, task.id);
 
-	Ext.applyIf(me, {
+	Ext.apply(me, {
 	    title: "Task: " + descr,
 	    width: 300,
 	    layout: 'auto',
-- 
2.1.4





More information about the pve-devel mailing list