TaskProgress: add button to show details (TaskViewer)

This commit is contained in:
Dietmar Maurer 2013-06-03 11:56:48 +02:00
parent a3096bbd70
commit 56e237fc9d

View File

@ -55,7 +55,19 @@ Ext.define('PVE.window.TaskProgress', {
layout: 'auto',
modal: true,
bodyPadding: 5,
items: pbar
items: pbar,
buttons: [
{
text: gettext('Details'),
handler: function() {
var win = Ext.create('PVE.window.TaskViewer', {
upid: me.upid
});
win.show();
me.close();
}
}
]
});
me.callParent();