Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dispatcher/taskDispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion public/view/task_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a ng-href="{{referrer}}" class="btn btn-default navbar-btn glyphicon glyphicon-menu-left">
<a ng-href="#/tasks" class="btn btn-default navbar-btn glyphicon glyphicon-menu-left">
</a>
</div>
<div class="navbar-header" style="margin:5px">
Expand Down