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:
parent
80100077be
commit
55718b71f8
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user