diff --git a/js/apps/system/aardvark/frontend/js/views/foxxActiveView.js b/js/apps/system/aardvark/frontend/js/views/foxxActiveView.js index a08cbef5e8..dcc4409e8e 100644 --- a/js/apps/system/aardvark/frontend/js/views/foxxActiveView.js +++ b/js/apps/system/aardvark/frontend/js/views/foxxActiveView.js @@ -21,7 +21,8 @@ events: { 'click .icon_arangodb_info' : 'showDocu', - 'click' : 'editFoxxDialog' + 'click .icon_arangodb_settings2' : 'editFoxxDialog', + 'click' : 'openAppInNewTab' }, initialize: function(){ @@ -149,14 +150,20 @@ } }, + openAppInNewTab: function() { + var url = window.location.origin + "/_db/_system" + this.model.get("mount"); + var windowRef = window.open(url, this.model.get("title")); + windowRef.focus(); + }, + uninstall: function () { - if (!this.model.get("isSystem")) { + if (!this.model.get("isSystem")) { this.model.destroy({ wait: true }); window.modalView.hide(); this.appsView.reload(); } }, - + showDocu: function(event) { event.stopPropagation(); window.App.navigate(