fix regression in gui when migrating guests
with using suspend/resumeEvents the reselection of vms when migrating, was not working correctly, fixing this by resuming before selecting Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
36d7084737
commit
85e09e1bb8
@ -340,6 +340,8 @@ Ext.define('PVE.tree.ResourceTree', {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
store.resumeEvents();
|
||||||
|
|
||||||
// select parent node is selection vanished
|
// select parent node is selection vanished
|
||||||
if (lastsel && !rootnode.findChild('id', lastsel.data.id, true)) {
|
if (lastsel && !rootnode.findChild('id', lastsel.data.id, true)) {
|
||||||
lastsel = rootnode;
|
lastsel = rootnode;
|
||||||
@ -360,7 +362,6 @@ Ext.define('PVE.tree.ResourceTree', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pdata.updateCount++;
|
pdata.updateCount++;
|
||||||
store.resumeEvents();
|
|
||||||
store.fireEvent('refresh', store);
|
store.fireEvent('refresh', store);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user