FileUploadWidget preview_url + deform.js removeSequenceItem #148

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

cbajema commented Feb 15, 2013

Fix for tmpstore implementations who's getter returns a copy of data rather than the data object itself.

Fix for sequence's that have child sequence nodes in deform.js removeSequenceItem.

cbajema added some commits Feb 15, 2013

cbajema * Fixed FileUploadWidget deserialize function so that preview_data is…
… added to tmpstore implementations that return a copy rather than the actual data.

* Updated deform.js, removeSequenceItem function to select the $before_node element more specifically (previous implementation may break when there was a sub sequence)
6902038
cbajema * Updated setting of preview_url so that the tmpstore data isn't set …
…twice, rather just the original data object and the tmpstore get object are set.
9aae6d8
Owner

chrisrossi commented Mar 19, 2013

Can you help illustrate the problem you're solving by adding a test that fails without the patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment