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

HenrikBak’s picture

Did you find a solution to this problem? I'm having a similar issue

MediaFormat’s picture

I 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.

MediaFormat’s picture

Possibly 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

MediaFormat’s picture

The 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.