Fix details pages reload behaviour

This patch fixes default index url for the pages, so reload details page
and open it in new tab can work properly.

Closes-Bug: #1902821
Closes-Bug: #1935967

Change-Id: I24fd60e86405d088e254676eefeded9619547e56
This commit is contained in:
Tatiana Ovchinnikova 2022-08-26 11:47:37 -05:00 committed by Michael Johnson
parent 80100077be
commit 55718b71f8
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@
var resourceType = registry.getResourceType(resourceTypeString);
resourceType
.setNames(gettext('Floating IP'), gettext('Floating IPs'))
.setDefaultIndexUrl('/resources/floatingips/')
.setDefaultIndexUrl('/project/reverse_dns/')
.setListFunction(listFloatingIps)
.setProperty('id', {
label: gettext('ID')

View File

@ -94,7 +94,7 @@
var resourceType = registry.getResourceType(resourceTypeString);
resourceType
.setNames(gettext('DNS Record Set'), gettext('DNS Record Sets'))
.setDefaultIndexUrl('/resources/recordsets/')
.setDefaultIndexUrl('/project/dnszones/')
.setListFunction(list)
.setProperty('id', {
label: gettext('ID')

View File

@ -61,7 +61,7 @@
var resourceType = registry.getResourceType(resourceTypeString);
resourceType
.setNames(gettext('DNS Zone'), gettext('DNS Zones'))
.setDefaultIndexUrl('/resources/zones/')
.setDefaultIndexUrl('/project/dnszones/')
.setListFunction(listZones)
.setProperty('action', {
label: gettext('Action'),