diff --git a/dispatcher/taskDispatcher.js b/dispatcher/taskDispatcher.js index 69faded..d1d0918 100644 --- a/dispatcher/taskDispatcher.js +++ b/dispatcher/taskDispatcher.js @@ -35,7 +35,7 @@ module.exports = { } }); } else { - serverResponse.status(401).send('User sesion invalidated'); + serverResponse.status(401).send('User session invalidated'); } }, // Adds a comments for a given task. Task id is part of the url and comment is send at the request body. Here we diff --git a/public/js/app.js b/public/js/app.js index 48cff12..454e61a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -32,13 +32,6 @@ myTasks.config(['$routeProvider', } ]); -// Store the current page for back navigation -myTasks.run(function($rootScope, $location) { - $rootScope.$on("$locationChangeStart", function(event, next, current) { - $rootScope.referrer = current; - }); -}); - // Filter function to check whether an object is empty myTasks.filter('isEmpty', function () { return function (obj) { diff --git a/public/view/task_detail.html b/public/view/task_detail.html index d7531a8..13e9f1c 100644 --- a/public/view/task_detail.html +++ b/public/view/task_detail.html @@ -2,7 +2,7 @@