mirror of https://gitee.com/bigwinds/arangodb
issue #998: Incorrect application URL for non-system Foxx apps
This commit is contained in:
parent
229b1be34c
commit
d3ff754352
|
@ -184,7 +184,9 @@
|
|||
},
|
||||
|
||||
openAppInNewTab: function() {
|
||||
var url = window.location.origin + "/_db/_system" + this.model.get("mount");
|
||||
var url = window.location.origin + "/_db/" +
|
||||
encodeURIComponent(arangoHelper.currentDatabase()) +
|
||||
this.model.get("mount");
|
||||
var windowRef = window.open(url, this.model.get("title"));
|
||||
windowRef.focus();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue