Juanfran 2014-08-06 10:31:21 +02:00
parent 959b49cefe
commit f8ef271fab
4 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,7 @@ UsStatusDirective = ($repo) ->
$el.on "click", ".us-status", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-status").show()
body = angular.element("body")

View File

@ -249,6 +249,7 @@ IssueStatusDirective = () ->
$el.on "click", ".severity-data", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-severity").show()
body = angular.element("body")
body.one "click", (event) ->
@ -265,6 +266,7 @@ IssueStatusDirective = () ->
$el.on "click", ".priority-data", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-priority").show()
body = angular.element("body")
body.one "click", (event) ->
@ -281,6 +283,7 @@ IssueStatusDirective = () ->
$el.on "click", ".status-data", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-status").show()
body = angular.element("body")
body.one "click", (event) ->

View File

@ -207,6 +207,7 @@ TaskStatusDirective = () ->
$el.on "click", ".status-data", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-status").show()
body = angular.element("body")
body.one "click", (event) ->

View File

@ -235,6 +235,7 @@ UsStatusDetailDirective = () ->
$el.find(".points-per-role").append(selectionPointsTemplate({ "points": $scope.project.points }))
$el.find(".pop-points-open a[data-point-id='#{us.points[updatingSelectedRoleId]}']").addClass("active")
# If not showing role selection let's move to the left
$(".popover").hide()
$el.find(".pop-points-open").show()
calculateTotalPoints = (us)->
@ -278,6 +279,7 @@ UsStatusDetailDirective = () ->
$el.on "click", ".status-data", (event) ->
event.preventDefault()
event.stopPropagation()
$(".popover").hide()
$el.find(".pop-status").show()
body = angular.element("body")
body.one "click", (event) ->