]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: resource tree settings: use the safer hash as bogus submit URL
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2023 10:36:40 +0000 (11:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2023 10:36:42 +0000 (11:36 +0100)
while it should not matter as we override submit() here, using the #
ensures that there never will be any HTTP request produced.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/TreeSettingsEdit.js

index 8f9b10b17870473f5fcbc4eb612d3b7e00a1b273..74355daa3ea91b734f6e6ca98ca4788afc6cab95 100644 (file)
@@ -3,11 +3,9 @@ Ext.define('PVE.window.TreeSettingsEdit', {
     alias: 'widget.pveTreeSettingsEdit',
 
     title: gettext('Tree Settings'),
-
     isCreate: false,
 
-    // we don't want an url, we override submit(), but it is needed by the parent class
-    url: 'bogus',
+    url: '#', // ignored as submit() gets overriden here, but the parent class requires it
 
     fieldDefaults: {
        labelWidth: 120,