]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/data/ProxmoxProxy.js
data/ProxmoxProxy: set responseType to undefined for XMLHTTPRequest
[proxmox-widget-toolkit.git] / src / data / ProxmoxProxy.js
index 7df8f286aef32e26d34326523f5d8f4074080ac6..d4dfe221007d9a618b0388dff737235b18ad8d35 100644 (file)
@@ -17,6 +17,7 @@ Ext.define('Proxmox.RestProxy', {
     constructor: function(config) {
        Ext.applyIf(config, {
            reader: {
+               responseType: undefined,
                type: 'json',
                rootProperty: config.root || 'data',
            },
@@ -55,7 +56,7 @@ Ext.define('Proxmox.RestProxy', {
                    return 0;
                },
            },
-           'node', 'upid', 'user', 'status', 'type', 'id',
+           'node', 'upid', 'user', 'tokenid', 'status', 'type', 'id',
        ],
        idProperty: 'upid',
     });