fix #264
parent
959b49cefe
commit
f8ef271fab
|
@ -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")
|
||||
|
|
|
@ -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) ->
|
||||
|
|
|
@ -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) ->
|
||||
|
|
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue