Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
When I try to edit an image that was previously uploaded and cropped, I'm getting a javascript error:
Uncaught ReferenceError: ManualCrop is not defined edit?destination=admin/content:1
onmousedown
I get this error only on Chrome (Version 37.0.2062.120, 64 bit Linux), in Chrome on Windows, Firefox (and even IE 11) this is working correct, which puzzles me the most...
The module versions I use are:
- manualcrop version 7.x-1.4+121-dev, but problem was also reported by a client for version 7.x-1.4
- Media 7.x-2.0-unstable7
- Media browser options 7.x-1.0
- File entity 7.x-2.0-unstable7
- jQuery update 7.x-2.3, set to JQuery version 1.7
Grtz,
Louis Nagtegaal
Comments
Comment #1
HenrikBak CreditAttribution: HenrikBak commentedDid you find a solution to this problem? I'm having a similar issue
Comment #2
MediaFormat CreditAttribution: MediaFormat commentedI am getting this error when attempting to modify an images manualcrops using the select media widget from node.
I suspect the Image Edit button loads the entity in a ctools modal, similar to this issue #2264187: Edit modal closes other open ctools modals, the ManualCrop link cannot open its own modal on top of ctools modal.
Comment #3
MediaFormat CreditAttribution: MediaFormat commentedPossibly different issue than the reporter...
Leaving this here as reference:
Updated modules to:
Media 7.x-2.0-beta1 (+ Media CKEditor 7.x-2.0-alpha1), (+ this patch to CKEditor )
File Entity 7.x-2.0-beta2
Comment #4
MediaFormat CreditAttribution: MediaFormat commentedThe difference with the previous versions of Media, is that now the manualcrop dropdown show up beside the Media select widget, instead of in the image edit ctools modal.