add logs viewer for email server

This commit is contained in:
Johannes Zellner
2018-06-07 11:40:50 +02:00
parent e09d2db7e6
commit a74cf0b064
2 changed files with 16 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
{ name: 'PTR', value: 'ptr' }
];
$scope.showLogs = function () {
window.open('/logs.html?id=mail', 'Logs', 'width=1024,height=800').focus();
};
$scope.showView = function (view) {
// wait for dialog to be fully closed to avoid modal behavior breakage when moving to a different view already
$('.modal').on('hidden.bs.modal', function () {