Sha256: b38e9d456b6ccae00f9aaf15317b470c296204c83b08023bb8befeeecf1c373c

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

#= require jquery
#= require jquery_ujs
#= require jquery.fileupload

simpleImagesForm = ->
  $(".simple_image_btn").click ->
    input = $(this).next().find("input")
    input.click()

  $('.new_simple_image, .edit_simple_image').fileupload
    dataType: 'script'

jQuery ->
  simpleImagesForm()

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_images-0.0.3 app/assets/javascripts/simple_images/ajax_uploader.js.coffee
simple_images-0.0.2 app/assets/javascripts/simple_images/ajax_uploader.js.coffee