1
0
Fork 0

issue #998: Incorrect application URL for non-system Foxx apps

This commit is contained in:
Jan Steemann 2014-11-04 00:08:10 +01:00
parent 229b1be34c
commit d3ff754352
1 changed files with 3 additions and 1 deletions

View File

@ -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();
},