Juanfran 2014-08-05 13:00:37 +02:00
parent 8b466a8f76
commit 997d803abd
1 changed files with 2 additions and 0 deletions

View File

@ -598,6 +598,7 @@ UsPointsDirective = ($repo) ->
selectedRoleId = _.keys(us.points)[0] selectedRoleId = _.keys(us.points)[0]
showPopPoints = () -> showPopPoints = () ->
$(".popover").hide()
$el.find(".pop-points-open").remove() $el.find(".pop-points-open").remove()
$el.append(pointsTemplate({ "points": $scope.project.points })) $el.append(pointsTemplate({ "points": $scope.project.points }))
dataPointId = us.points[updatingSelectedRoleId] dataPointId = us.points[updatingSelectedRoleId]
@ -610,6 +611,7 @@ UsPointsDirective = ($repo) ->
$el.find(".pop-points-open").show() $el.find(".pop-points-open").show()
showPopRoles = () -> showPopRoles = () ->
$(".popover").hide()
$el.find(".pop-role").remove() $el.find(".pop-role").remove()
rolePoints = _.clone(_.filter($scope.project.roles, "computable"), true) rolePoints = _.clone(_.filter($scope.project.roles, "computable"), true)