remove debug message
This commit is contained in:
parent
a454cbd7f0
commit
f9bc8d198b
@ -140,5 +140,28 @@ Ext.define('PVE.window.Snapshot', {
|
||||
});
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
console.log("SORT " + v1 + " " + v2);
|
||||
return (v1 > v2 ? 1 : (v1 < v2 ? -1 : 0));
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user