branch develop updated (202056f -> 137f503)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git from 202056f fixes #7847 ajout d'un flag dans l'url pour les recherches avancées, permettant un refresh de la page quand on clique dans le menu new 137f503 fixes #7851 Gestion du rechargement de la page d'accueil en cas de déconnexion The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 137f5034d61a098c2c7f10039f66beed3d9eaa4c Author: Yannick Martel <martel@©odelutin.com> Date: Mon Dec 21 16:19:32 2015 +0100 fixes #7851 Gestion du rechargement de la page d'accueil en cas de déconnexion Summary of changes: coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 137f5034d61a098c2c7f10039f66beed3d9eaa4c Author: Yannick Martel <martel@©odelutin.com> Date: Mon Dec 21 16:19:32 2015 +0100 fixes #7851 Gestion du rechargement de la page d'accueil en cas de déconnexion --- coselmar-ui/src/main/webapp/js/coselmar-controllers.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js index 3b2d5b2..fe038a7 100644 --- a/coselmar-ui/src/main/webapp/js/coselmar-controllers.js +++ b/coselmar-ui/src/main/webapp/js/coselmar-controllers.js @@ -66,7 +66,11 @@ coselmarControllers.controller("HomeCtrl", ['$scope', '$http', '$location', '$ro $scope.logout = function() { delete $scope.context.currentUser; localStorage.removeItem('coselmar-jwt'); - $location.path('/'); + if ($location.url() == '/') { + $route.reload(); + } else { + $location.path('/'); + } } // i18n Management -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm