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);
|
var resourceType = registry.getResourceType(resourceTypeString);
|
||||||
resourceType
|
resourceType
|
||||||
.setNames(gettext('Floating IP'), gettext('Floating IPs'))
|
.setNames(gettext('Floating IP'), gettext('Floating IPs'))
|
||||||
.setDefaultIndexUrl('/resources/floatingips/')
|
.setDefaultIndexUrl('/project/reverse_dns/')
|
||||||
.setListFunction(listFloatingIps)
|
.setListFunction(listFloatingIps)
|
||||||
.setProperty('id', {
|
.setProperty('id', {
|
||||||
label: gettext('ID')
|
label: gettext('ID')
|
||||||
|
@ -94,7 +94,7 @@
|
|||||||
var resourceType = registry.getResourceType(resourceTypeString);
|
var resourceType = registry.getResourceType(resourceTypeString);
|
||||||
resourceType
|
resourceType
|
||||||
.setNames(gettext('DNS Record Set'), gettext('DNS Record Sets'))
|
.setNames(gettext('DNS Record Set'), gettext('DNS Record Sets'))
|
||||||
.setDefaultIndexUrl('/resources/recordsets/')
|
.setDefaultIndexUrl('/project/dnszones/')
|
||||||
.setListFunction(list)
|
.setListFunction(list)
|
||||||
.setProperty('id', {
|
.setProperty('id', {
|
||||||
label: gettext('ID')
|
label: gettext('ID')
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
var resourceType = registry.getResourceType(resourceTypeString);
|
var resourceType = registry.getResourceType(resourceTypeString);
|
||||||
resourceType
|
resourceType
|
||||||
.setNames(gettext('DNS Zone'), gettext('DNS Zones'))
|
.setNames(gettext('DNS Zone'), gettext('DNS Zones'))
|
||||||
.setDefaultIndexUrl('/resources/zones/')
|
.setDefaultIndexUrl('/project/dnszones/')
|
||||||
.setListFunction(listZones)
|
.setListFunction(listZones)
|
||||||
.setProperty('action', {
|
.setProperty('action', {
|
||||||
label: gettext('Action'),
|
label: gettext('Action'),
|
||||||
|
Loading…
Reference in New Issue
Block a user