Sha256: bf615fb93b6ce41ffc501f54f9f1a4557039b80bf3fc9478aa76d9180f0b4017

Contents?: true

Size: 653 Bytes

Versions: 32

Compression:

Stored size: 653 Bytes

Contents

# Copyright (c) 2008-2014 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->

  $(document).on 'ajax:send', '.pagination, .per_page_options', ->
    $(this).find('a').prop('disabled', true)
    $(this).closest('#paginate').find('.spinner').show()

  $(document).on 'ajax:complete', '.pagination, .per_page_options', ->
    $(this).find('a').prop('disabled', false)
    $(this).closest('#paginate').find('.spinner').hide()

) jQuery

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
fat_free_crm-0.22.1 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.22.0 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.21.0 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.20.1 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.20.0 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.19.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.19.0 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.18.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.14.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.15.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.16.4 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.17.3 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.18.1 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.18.0 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.14.1 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.15.1 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.16.3 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.17.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.16.2 app/assets/javascripts/pagination.js.coffee
fat_free_crm-0.17.1 app/assets/javascripts/pagination.js.coffee