Task interaction fixes (#8306)

* Fixed interacting with a broken challenge

* Added fix for users using open tasks in edit mode
This commit is contained in:
Keith Holliday
2016-12-22 11:40:00 -06:00
committed by GitHub
parent afacd3e1cf
commit 2da0a1e88c
4 changed files with 19 additions and 11 deletions

View File

@@ -266,6 +266,8 @@ angular.module('habitrpg')
modalScope.canEdit = scopeInc.canEdit;
modalScope.updateTaskTags = scopeInc.updateTaskTags;
modalScope.obj = scopeInc.obj;
modalScope.unlink = scopeInc.unlink;
modalScope.removeTask = scopeInc.removeTask;
}
modalScope.cancelTaskEdit = cancelTaskEdit;