Web UI: Fix login and logout relative URLs

This commit is contained in:
ngosang 2015-05-17 13:48:06 +02:00
parent c92eb1b17d
commit dd71355e8a
2 changed files with 4 additions and 4 deletions

View file

@ -371,7 +371,7 @@ initializeWindows = function() {
addClickEvent('logout', function(e) {
new Event(e).stop();
new Request({
url: '/logout',
url: 'logout',
method: 'get',
onSuccess: function() {
window.location.reload();
@ -396,4 +396,4 @@ initializeWindows = function() {
new Event(e).stop();
});
});
}
}