Attempt to bring existing logs or terminal window to the front

This commit is contained in:
Johannes Zellner
2018-01-16 19:09:33 +01:00
parent dd6eeac000
commit b10abb1944

View File

@@ -370,11 +370,11 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
};
$scope.showLogs = function (app) {
window.open('/logs.html?id=' + app.id, 'Logs', 'width=1024,height=800');
window.open('/logs.html?id=' + app.id, 'Logs', 'width=1024,height=800').focus();
};
$scope.showTerminal = function (app) {
window.open('/terminal.html?id=' + app.id, 'Terminal', 'width=1024,height=800');
window.open('/terminal.html?id=' + app.id, 'Terminal', 'width=1024,height=800').focus();
};
$scope.showError = function (app) {