parent
33a8f53f7a
commit
085f12288d
2 changed files with 4 additions and 12 deletions
|
@ -9,12 +9,8 @@ class @Issue
|
||||||
if $("a.btn-close").length
|
if $("a.btn-close").length
|
||||||
$("li.task-list-item input:checkbox").prop("disabled", false)
|
$("li.task-list-item input:checkbox").prop("disabled", false)
|
||||||
|
|
||||||
$(".task-list-item input:checkbox").on(
|
$('.task-list-item input:checkbox').off('change')
|
||||||
"click"
|
$('.task-list-item input:checkbox').change('issue', updateTaskState)
|
||||||
null
|
|
||||||
"issue"
|
|
||||||
updateTaskState
|
|
||||||
)
|
|
||||||
|
|
||||||
$('.issue-details').waitForImages ->
|
$('.issue-details').waitForImages ->
|
||||||
$('.issuable-affix').affix offset:
|
$('.issuable-affix').affix offset:
|
||||||
|
|
|
@ -81,12 +81,8 @@ class @MergeRequest
|
||||||
this.$('.remove_source_branch_in_progress').hide()
|
this.$('.remove_source_branch_in_progress').hide()
|
||||||
this.$('.remove_source_branch_widget.failed').show()
|
this.$('.remove_source_branch_widget.failed').show()
|
||||||
|
|
||||||
$(".task-list-item input:checkbox").on(
|
$('.task-list-item input:checkbox').off('change')
|
||||||
"click"
|
$('.task-list-item input:checkbox').change('merge_request', updateTaskState)
|
||||||
null
|
|
||||||
"merge_request"
|
|
||||||
updateTaskState
|
|
||||||
)
|
|
||||||
|
|
||||||
activateTab: (action) ->
|
activateTab: (action) ->
|
||||||
this.$('.merge-request-tabs li').removeClass 'active'
|
this.$('.merge-request-tabs li').removeClass 'active'
|
||||||
|
|
Loading…
Reference in a new issue