[#1672] don't allow clicking checkboxes on challenge-editing page

This commit is contained in:
Tyler Renelle
2013-11-01 10:20:14 -07:00
parent 907f8792a6
commit 7037e1c8eb
2 changed files with 5 additions and 1 deletions

View File

@@ -35,6 +35,8 @@ habitrpg.controller("ChallengesCtrl", ['$scope', 'User', 'Challenges', 'Notifica
if (gid == 'habitrpg') $scope.newChallenge.prize = 1;
})
// override score() for tasks listed in challenges-editing pages, so that nothing happens
$scope.score = function(){}
//------------------------------------------------------------
// Challenge