]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: fix setting protection in namespace
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 16 May 2022 13:25:02 +0000 (15:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 May 2022 13:29:55 +0000 (15:29 +0200)
The ns parameter would not be included previously.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/datastore/Content.js

index f7e1675bc4de27582654ee321451ef4c43bc1c1b..21ce496406dd65e13ea2545ce4744c1b4139d267 100644 (file)
@@ -685,25 +685,10 @@ Ext.define('PBS.DataStoreContent', {
                isCreate: false,
                autoLoad: true,
 
-               loadUrl: `${url}?${Ext.Object.toQueryString(params)}`,
                url,
+               extraRequestParams: params,
 
                items: [
-                   {
-                       xtype: 'hidden',
-                       name: 'backup-type',
-                       value: type,
-                   },
-                   {
-                       xtype: 'hidden',
-                       name: 'backup-id',
-                       value: id,
-                   },
-                   {
-                       xtype: 'hidden',
-                       name: 'backup-time',
-                       value: time,
-                   },
                    {
                        xtype: 'proxmoxcheckbox',
                        fieldLabel: gettext('Protected'),