Fixed problem on delete points

stable
Jesús Espino 2014-08-12 11:41:58 +02:00
parent c28d43716f
commit f4c9b57d34
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ UsPointsDirective = ($repo) ->
return val return val
_.map rolePoints, (v, k) -> _.map rolePoints, (v, k) ->
v.points = undefinedToQuestion($scope.pointsById[us.points[v.id]].value) v.points = undefinedToQuestion($scope.pointsById[us.points[v.id]]?.value)
$el.append(selectionTemplate({ "rolePoints": rolePoints })) $el.append(selectionTemplate({ "rolePoints": rolePoints }))
$el.find(".pop-role").popover().open(() -> $(this).remove()) $el.find(".pop-role").popover().open(() -> $(this).remove())