Fix JS and JS-based image upload
This commit is contained in:
parent
36984ff1d4
commit
fa8a7fc77a
6 changed files with 95 additions and 51 deletions
|
|
@ -1,5 +1,9 @@
|
|||
/ Render this callout on top of the package's details page
|
||||
/ if images have just been uploaded.
|
||||
|
||||
// Make variables accessible by the JS that handles uploads
|
||||
#data-js-upload-form data-upload-url=upload_receive_json_path
|
||||
|
||||
- if (@valid_images and @valid_images.any?) or (@invalid_images and @invalid_images.any?)
|
||||
.callout.warning
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue