mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 08:26:08 +00:00
Fix handling of failed API call verifyFeature()
This call can for instance fails when a source VM has references to non existing storages.
This commit is contained in:
parent
3a2402368f
commit
0057ea5c88
@ -124,7 +124,7 @@ Ext.define('PVE.window.Clone', {
|
|||||||
params: params,
|
params: params,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
failure: function(response, opts) {
|
failure: function(response, opts) {
|
||||||
me.submitBtn.setDisabled(false);
|
me.lookupReference('submitBtn').setDisabled(true);
|
||||||
Ext.Msg.alert('Error', response.htmlStatus);
|
Ext.Msg.alert('Error', response.htmlStatus);
|
||||||
},
|
},
|
||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user