From 641df09e9e12f011ad66c07c71aa2bace03c2008 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 6 Dec 2017 18:39:52 +0100 Subject: [PATCH] taskviewer: port over extraTite config parameter commit acc9bf4752972ffd79af1c78510fcce24c2db959 (Close #1268: Show migration start server and migration end server) introduced the possibility to display additional information in the TaskViewer window title. This change happened after the widget toolkit formed and seems reasonable to have here, thus port it over. Signed-off-by: Thomas Lamprecht --- window/TaskViewer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/window/TaskViewer.js b/window/TaskViewer.js index 189268b..c6bb370 100644 --- a/window/TaskViewer.js +++ b/window/TaskViewer.js @@ -85,6 +85,8 @@ Ext.define('Proxmox.window.TaskViewer', { extend: 'Ext.window.Window', alias: 'widget.proxmoxTaskViewer', + extraTitle: '', // string to prepend after the generic task title + initComponent: function() { var me = this; @@ -202,7 +204,7 @@ Ext.define('Proxmox.window.TaskViewer', { statstore.startUpdate(); Ext.apply(me, { - title: "Task viewer: " + task.desc, + title: "Task viewer: " + task.desc + me.extraTitle, width: 800, height: 400, layout: 'fit',