mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 13:49:30 +00:00
ui: realm sync job: code cleanup run-now handlers
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
fc3fe9af77
commit
1e7c70f5c2
@ -58,16 +58,13 @@ Ext.define('PVE.dc.RealmSyncJobView', {
|
||||
params,
|
||||
waitMsgTarget: view,
|
||||
method: 'POST',
|
||||
failure: response => Ext.Msg.alert(gettext('Error'), response.htmlStatus),
|
||||
success: function(response, options) {
|
||||
let upid = response.result.data;
|
||||
let win = Ext.create('Proxmox.window.TaskProgress', {
|
||||
upid: upid,
|
||||
Ext.create('Proxmox.window.TaskProgress', {
|
||||
autoShow: true,
|
||||
upid: response.result.data,
|
||||
taskDone: () => { me.reload(); },
|
||||
});
|
||||
win.show();
|
||||
},
|
||||
failure: function(response, opts) {
|
||||
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
|
||||
},
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user