Permalink
Browse files

asured that "mark all as complete" will be reset after one clicked "c…

…lear x completed items"
  • Loading branch information...
1 parent 02c7ab1 commit 2b84d74d6d64eb674c1e7161bfc89292708cc593 @cburgdorf cburgdorf committed Mar 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 architecture-examples/angularjs/js/controllers.js
@@ -70,6 +70,7 @@ App.Controllers.TodoController = function () {
angular.forEach(oldTodos, function(todo) {
if (!todo.done) self.todos.push(todo);
});
+ self.allChecked = false;
};
self.toggleAllStates = function(){

0 comments on commit 2b84d74

Please sign in to comment.