Added editTask function back

This commit is contained in:
TheHollidayInn
2015-06-17 23:04:42 -05:00
parent 838c912906
commit caec2d8476

View File

@@ -49,6 +49,8 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
});
};
$scope.editTask = Tasks.editTask;
/**
* Create
*/
@@ -98,7 +100,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
todo: [],
reward: []
};
Tasks.cloneTasks(challenge.habits, clonedTasks);
Tasks.cloneTasks(challenge.dailys, clonedTasks);
Tasks.cloneTasks(challenge.todos, clonedTasks);