fix #264
parent
959b49cefe
commit
f8ef271fab
|
@ -71,6 +71,7 @@ UsStatusDirective = ($repo) ->
|
||||||
$el.on "click", ".us-status", (event) ->
|
$el.on "click", ".us-status", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-status").show()
|
$el.find(".pop-status").show()
|
||||||
|
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
|
|
|
@ -249,6 +249,7 @@ IssueStatusDirective = () ->
|
||||||
$el.on "click", ".severity-data", (event) ->
|
$el.on "click", ".severity-data", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-severity").show()
|
$el.find(".pop-severity").show()
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
body.one "click", (event) ->
|
body.one "click", (event) ->
|
||||||
|
@ -265,6 +266,7 @@ IssueStatusDirective = () ->
|
||||||
$el.on "click", ".priority-data", (event) ->
|
$el.on "click", ".priority-data", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-priority").show()
|
$el.find(".pop-priority").show()
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
body.one "click", (event) ->
|
body.one "click", (event) ->
|
||||||
|
@ -281,6 +283,7 @@ IssueStatusDirective = () ->
|
||||||
$el.on "click", ".status-data", (event) ->
|
$el.on "click", ".status-data", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-status").show()
|
$el.find(".pop-status").show()
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
body.one "click", (event) ->
|
body.one "click", (event) ->
|
||||||
|
|
|
@ -207,6 +207,7 @@ TaskStatusDirective = () ->
|
||||||
$el.on "click", ".status-data", (event) ->
|
$el.on "click", ".status-data", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-status").show()
|
$el.find(".pop-status").show()
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
body.one "click", (event) ->
|
body.one "click", (event) ->
|
||||||
|
|
|
@ -235,6 +235,7 @@ UsStatusDetailDirective = () ->
|
||||||
$el.find(".points-per-role").append(selectionPointsTemplate({ "points": $scope.project.points }))
|
$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")
|
$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
|
# If not showing role selection let's move to the left
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-points-open").show()
|
$el.find(".pop-points-open").show()
|
||||||
|
|
||||||
calculateTotalPoints = (us)->
|
calculateTotalPoints = (us)->
|
||||||
|
@ -278,6 +279,7 @@ UsStatusDetailDirective = () ->
|
||||||
$el.on "click", ".status-data", (event) ->
|
$el.on "click", ".status-data", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
$(".popover").hide()
|
||||||
$el.find(".pop-status").show()
|
$el.find(".pop-status").show()
|
||||||
body = angular.element("body")
|
body = angular.element("body")
|
||||||
body.one "click", (event) ->
|
body.one "click", (event) ->
|
||||||
|
|
Loading…
Reference in New Issue