From be065088603400d0bde4fe440d5e459b983ca38e Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 29 May 2016 19:44:32 +0200 Subject: Update client window exit --- afm-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'afm-client/app/Frontend/widgets/Notifications') diff --git a/afm-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js b/afm-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js index 3ddd270..2c7c3da 100644 --- a/afm-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js +++ b/afm-client/app/Frontend/widgets/Notifications/TokenRefreshSvc.js @@ -25,7 +25,7 @@ 'use strict'; var template = - '
' + + '
' + 'afb://{{hostname}}:{{httpdport}}' + '' + '
'; @@ -40,7 +40,7 @@ angular.module('TokenRefresh', ['AppConfig', 'ModalNotification']) scope.logged=undefined; // neither thu neither false $window.onbeforeunload = function () { - AppCall.get ("token", "reset", {/*query*/}, function () { + AppCall.get (scope.plugin, "logout", {/*query*/}, function () { $log.log("OPA exit"); }); }; -- cgit 1.2.3-korg