app/assets/javascripts/caboose/admin_media_index.js in caboose-cms-0.7.58 vs app/assets/javascripts/caboose/admin_media_index.js in caboose-cms-0.7.59
- old
+ new
@@ -276,10 +276,10 @@
if (that.selected_media.indexOf(m.id) > -1)
li.addClass('selected ui-selected');
if (that.allow_edit && m.image_urls) li.append($("<a/>").html("Edit Image").click(function() { that.edit_image($(this).parent().data('media_id')); }));
else li.append($("<a/>").attr('href', m.file_url).html("Direct URL"));
if ( m.image_urls ) li.append($("<a/>").addClass("dl i").html("Download").click(function() { that.download_image($(this).parent().data('media_id')); }));
- else li.append($("<a/>").addClass("dl").html("Download").click(function() { that.download_image($(this).parent().data('media_id')); }));
+ else li.append($("<a/>").addClass("dl i").html("Download").click(function() { that.download_image($(this).parent().data('media_id')); }));
ul.append(li);
});
}
else
ul = $('<p/>').html("This category is empty.");