ui: resource tree settings: use the safer hash as bogus submit URL

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>
This commit is contained in:
Thomas Lamprecht 2023-02-22 11:36:40 +01:00
parent e3eb302c8b
commit 0489947166

View 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,