app/assets/javascripts/spina/admin/media_gallery.coffee in spina-1.0.3 vs app/assets/javascripts/spina/admin/media_gallery.coffee in spina-1.1.0
- old
+ new
@@ -27,10 +27,10 @@
ready = ->
$('.media-folder').droppable(
drop: (event, ui) ->
url = $(this).attr('data-add-to-media-folder-url')
- image_id = $(ui.draggable).find('input[type="radio"]').val()
+ image_id = $(ui.draggable).attr('data-image-id')
$.ajax
url: url,
type: 'PUT',
data: {
\ No newline at end of file