mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 10:28:14 +00:00
remove debug message
This commit is contained in:
parent
ee69f57f7c
commit
bfb37bcd86
@ -140,5 +140,28 @@ Ext.define('PVE.window.Snapshot', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
me.callParent();
|
me.callParent();
|
||||||
|
|
||||||
|
if (!me.snapname) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// else load data
|
||||||
|
|
||||||
|
PVE.Utils.API2Request({
|
||||||
|
url: '/nodes/' + me.nodename + '/qemu/' + me.vmid + "/snapshot/" +
|
||||||
|
me.snapname + '/config',
|
||||||
|
waitMsgTarget: me,
|
||||||
|
method: 'GET',
|
||||||
|
failure: function(response, opts) {
|
||||||
|
Ext.Msg.alert('Error', response.htmlStatus);
|
||||||
|
me.close();
|
||||||
|
},
|
||||||
|
success: function(response, options) {
|
||||||
|
var data = response.result.data;
|
||||||
|
|
||||||
|
console.dir(data);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -17,7 +17,6 @@ Ext.define('PVE.qemu.SnapshotTree', {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("SORT " + v1 + " " + v2);
|
|
||||||
return (v1 > v2 ? 1 : (v1 < v2 ? -1 : 0));
|
return (v1 > v2 ? 1 : (v1 < v2 ? -1 : 0));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user