Fixed problem on delete points
parent
c28d43716f
commit
f4c9b57d34
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue