Sha256: 22633417c8a85ee3f2cc5e4cd17440c195f06917dc498d6f69a2541f5cd54e83

Contents?: true

Size: 262 Bytes

Versions: 10

Compression:

Stored size: 262 Bytes

Contents

$(document).on 'click', 'a.buttons-reset-cookie', (event) ->
  event.preventDefault()

  $obj = $(event.currentTarget)
  $obj.find('span').text('Resetting...')
  document.cookie = "_effective_dt=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/"
  location.reload()

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_datatables-3.0.11 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.10 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.9 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.8 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.7 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.6 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.5 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.4 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.3 app/assets/javascripts/effective_datatables/reset.js.coffee
effective_datatables-3.0.2 app/assets/javascripts/effective_datatables/reset.js.coffee