I'm running latest dev of media module. Media 7.x-2.0-unstable3+47-dev (2012-Apr-18) & Image javascript crop 7.x-1.0-rc3+43-dev (2012-Apr-13)
I have 2 'Media file selector' fields set up on a content type.
Field one is set up to allow image uploads, youtube link and browse other youtube videos previously added.
Field two is set up to only allow pdf and doc file uploads.

Upon editing a node, uploading images and files work as expected. If I enable a imagecrop style for the image field it causes the file field to throw a javascript error and hang on the overlay with text telling you the file uploaded.

I have yet to try this on a clean install but it seems like the javascript error is because its trying to attach js events to all media field div's instead of just the fields with crop styles enabled.

The actual error is $imagecropUrl.val() is undefined on line 38

Comments

nils.destoop’s picture

Status: Active » Fixed

This should be fixed in latest dev.
Patch can be found at: http://drupalcode.org/project/imagecrop.git/patch/29b73da

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.