Closed (fixed)
Project:
Entity Box Types
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Mar 2012 at 18:07 UTC
Updated:
30 Mar 2012 at 18:20 UTC
Jump to comment: Most recent file
If you save an entity box that has image fields through its admin interface at /admin/content/entity_boxes/entity_boxes/[ID]/edit without manually uploading each image, the chosen files will still get saved. This doesn't happen when you are submitting it from the AJAX box edit form.
I've come up with a JS work-around based on this that automatically triggers the upload button when the input field is changed. This temporarily resolves this problem and I'll post it as a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | entity_boxes-saving-ajax-form-image-fields-autoupload-1473404-2.patch | 1.12 KB | tirdadc |
| #1 | entity_boxes-saving-ajax-form-image-fields-autoupload-1473404-1.patch | 1.14 KB | tirdadc |
Comments
Comment #1
tirdadc commentedHere's the patch.
Comment #2
tirdadc commentedComment #3
tirdadc commentedOops, forgot a console.info() in there. Fixed.
Comment #4
tirdadc commentedCommitted.