forked from railsadminteam/rails_admin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move JS code to ra.widgets.coffee. Bind the event handler on JS side,…
… not by using 'onchange' html attribute. Add check about extension for preview (only graphic files, other files without preview - hide image_container)
- Loading branch information
Showing
2 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters