[pve-devel] [PATCH manager] fix #1104: add missing /firewall in url

Dominik Csapak d.csapak at proxmox.com
Mon Sep 12 14:35:58 CEST 2016


with the reorganizing of the tabs to
the treelist, we forgot to add /firewall to some
urls, making the url for source/destination invalid

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/lxc/Config.js  | 4 ++--
 www/manager6/qemu/Config.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/manager6/lxc/Config.js b/www/manager6/lxc/Config.js
index 92cb378..9fc89de 100644
--- a/www/manager6/lxc/Config.js
+++ b/www/manager6/lxc/Config.js
@@ -208,7 +208,7 @@ Ext.define('PVE.lxc.Config', {
 		    iconCls: 'fa fa-shield',
 		    allow_iface: true,
 		    base_url: base_url + '/firewall/rules',
-		    list_refs_url: base_url + '/refs',
+		    list_refs_url: base_url + '/firewall/refs',
 		    itemId: 'firewall'
 		},
 		{
@@ -234,7 +234,7 @@ Ext.define('PVE.lxc.Config', {
 		    groups: ['firewall'],
 		    iconCls: 'fa fa-list-ol',
 		    base_url: base_url + '/firewall/ipset',
-		    list_refs_url: base_url + '/refs',
+		    list_refs_url: base_url + '/firewall/refs',
 		    itemId: 'firewall-ipset'
 		},
 		{
diff --git a/www/manager6/qemu/Config.js b/www/manager6/qemu/Config.js
index 9a20fe3..759eb9e 100644
--- a/www/manager6/qemu/Config.js
+++ b/www/manager6/qemu/Config.js
@@ -213,7 +213,7 @@ Ext.define('PVE.qemu.Config', {
 		    iconCls: 'fa fa-shield',
 		    allow_iface: true,
 		    base_url: base_url + '/firewall/rules',
-		    list_refs_url: base_url + '/refs',
+		    list_refs_url: base_url + '/firewall/refs',
 		    itemId: 'firewall'
 		},
 		{
@@ -239,7 +239,7 @@ Ext.define('PVE.qemu.Config', {
 		    groups: ['firewall'],
 		    iconCls: 'fa fa-list-ol',
 		    base_url: base_url + '/firewall/ipset',
-		    list_refs_url: base_url + '/refs',
+		    list_refs_url: base_url + '/firewall/refs',
 		    itemId: 'firewall-ipset'
 		},
 		{
-- 
2.1.4





More information about the pve-devel mailing list