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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
85d85d151c
commit
641df09e9e
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user