Sha256: c98e5a123bc34870b7b9aafbeb2c5dd6bba1795b5efd9b455949bc0e07801c04

Contents?: true

Size: 288 Bytes

Versions: 46

Compression:

Stored size: 288 Bytes

Contents

$ ->
  ($ '#new_image_link').click (event) ->
    event.preventDefault()

    ($ '.no-objects-found').hide()

    ($ this).hide()
    $.ajax
      type: 'GET'
      url: @href
      data: (
        authenticity_token: AUTH_TOKEN
      )
      success: (r) ->
        ($ '#images').html r

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
spree_core-1.3.2 app/assets/javascripts/admin/images/index.js.coffee
spree_core-1.3.1 app/assets/javascripts/admin/images/index.js.coffee
spree_core-1.3.0 app/assets/javascripts/admin/images/index.js.coffee
spree_core-1.3.0.rc2 app/assets/javascripts/admin/images/index.js.coffee
dup_spree_core-1.3.0.rc1 app/assets/javascripts/admin/images/index.js.coffee
spree_core-1.3.0.rc1 app/assets/javascripts/admin/images/index.js.coffee