]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/window/BackupConfig.js
1 Ext
.define('PVE.window.BackupConfig', {
2 extend
: 'Ext.window.Window',
3 title
: gettext('Configuration'),
13 'background-color': 'white',
15 'font-family': 'monospace',
20 initComponent: function() {
24 throw "no volume specified";
27 var nodename
= me
.pveSelNode
.data
.node
;
29 throw "no node name specified";
34 Proxmox
.Utils
.API2Request({
35 url
: "/nodes/" + nodename
+ "/vzdump/extractconfig",
40 failure: function(response
, opts
) {
42 Ext
.Msg
.alert('Error', response
.htmlStatus
);
44 success: function(response
, options
) {
46 me
.down('#configtext').update(Ext
.htmlEncode(response
.result
.data
));