debian-mirror-gitlab/app/assets/javascripts/ci/application.js.coffee

13 lines
339 B
CoffeeScript
Raw Normal View History

2015-09-25 12:07:36 +05:30
#= require pager
#= require jquery_nested_form
#= require_tree .
$(document).on 'click', '.assign-all-runner', ->
$(this).replaceWith('<i class="fa fa-refresh fa-spin"></i> Assign in progress..')
window.unbindEvents = ->
$(document).unbind('scroll')
$(document).off('scroll')
document.addEventListener("page:fetch", unbindEvents)