app/assets/javascripts/spina/admin/media_gallery.coffee in spina-1.2.0 vs app/assets/javascripts/spina/admin/media_gallery.coffee in spina-2.0.0.alpha
- old
+ new
@@ -2,12 +2,9 @@
$(this).find('.customfile').addClass('loading')
$(document).on 'direct-uploads:end', 'form', (e) ->
$(this).find('.customfile').removeClass('loading')
-$(document).on 'direct-upload:progress', 'input', (e) ->
- console.log(e.detail.progress)
-
$(document).on 'change', 'input[type="file"]', (e) ->
$form = $(this).parents('form')
$form.find('input[type="submit"]').click()
$(document).on 'click', '.organize-switch', (e) ->
\ No newline at end of file