mirror of https://gitee.com/bigwinds/arangodb
Fixed relocation url for sub urls in web interface
This commit is contained in:
parent
b0cf923110
commit
f0603a9e3a
|
@ -63,7 +63,14 @@
|
|||
+ encodeURIComponent(name)
|
||||
+ "/_admin/aardvark/index.html";
|
||||
if (hash) {
|
||||
url += hash;
|
||||
var base = hash.split("/")[0];
|
||||
if (base.indexOf("#collection") === 0) {
|
||||
base = "#collections";
|
||||
}
|
||||
if (base.indexOf("#application") === 0) {
|
||||
base = "#applications";
|
||||
}
|
||||
url += base;
|
||||
}
|
||||
return url;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue