Closed tcmacdonald closed 12 years ago
The div is not draggable since the node is empty. It will need a non-breaking space at the very least.
I also think it may be easier (and better) to use images for the various non-image types versus background images. It would automatically fix the underlying issue here as well as provide one canonical place for all asset thumbnails (the model). Currently exceptions for non-image icons have to be coded in the _file partial and the toolbar javascript.
Agreed. Actually working on this problem now and that was my conclusion as well.
Uploading non-image assets results in an immediate 500 error since the create action is trying to render the file partial, but the file partial does not take non-images into account. (https://github.com/tcmacdonald/ample_assets/blob/master/app/views/ample_assets/files/_file.html.erb)