remove debug message

This commit is contained in:
Dietmar Maurer 2012-09-13 11:45:34 +02:00
parent a454cbd7f0
commit f9bc8d198b
2 changed files with 23 additions and 1 deletions

View File

@ -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);
}
});
}
});

View File

@ -17,7 +17,6 @@ Ext.define('PVE.qemu.SnapshotTree', {
return -1;
}
console.log("SORT " + v1 + " " + v2);
return (v1 > v2 ? 1 : (v1 < v2 ? -1 : 0));
},