From a4b25c3f84ff08c51e4317852d52a172b0274f50 Mon Sep 17 00:00:00 2001 From: Matthew Sheeley Date: Wed, 4 Jun 2014 15:44:22 -0500 Subject: [PATCH] Close user dialog on logout --- .../src/views/common/dialogs/user.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js index aee862d9c7..5979962128 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/user.controller.js @@ -25,7 +25,9 @@ angular.module("umbraco") $scope.close(); }); + //perform the path change, if it is successful then the promise will resolve otherwise it will fail + $scope.close(); $location.path("/logout"); };