]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/window/BackupConfig.js
ui: manual backup: also set notes-template default
[pve-manager.git] / www / manager6 / window / BackupConfig.js
index 8b0fd04f74128f8e4bbd0721cead84716d7cb4ff..ca61b1e4e140ecd4b08350cf4981dc0eeaa4d845 100644 (file)
@@ -13,8 +13,8 @@ Ext.define('PVE.window.BackupConfig', {
            'background-color': 'white',
            'white-space': 'pre',
            'font-family': 'monospace',
-           padding: '5px'
-       }
+           padding: '5px',
+       },
     },
 
     initComponent: function() {
@@ -31,20 +31,20 @@ Ext.define('PVE.window.BackupConfig', {
 
        me.callParent();
 
-       PVE.Utils.API2Request({
+       Proxmox.Utils.API2Request({
            url: "/nodes/" + nodename + "/vzdump/extractconfig",
            method: 'GET',
            params: {
-               volume: me.volume
+               volume: me.volume,
            },
            failure: function(response, opts) {
                me.close();
                Ext.Msg.alert('Error', response.htmlStatus);
            },
-           success: function(response,options) {
+           success: function(response, options) {
                me.show();
                me.down('#configtext').update(Ext.htmlEncode(response.result.data));
-           }
+           },
        });
-    }
+    },
 });