Closed (won't fix)
Project:
EPSA Crop - Image Cropping
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2012 at 16:52 UTC
Updated:
13 Mar 2014 at 15:13 UTC
Jump to comment: Most recent
Comments
Comment #1
jphelan commentedI found the issue, the id of my textarea is edit-epsacropcoords-1 not edit-epsacropcoords. Any Idea how that could have happened? It worked for months and all of a sudden stopped with this error. I fixed it buy editing line 50 of epsacrop.js and changing the id being referenced.
if($('#edit-epsacropcoords').val().length > 0 && Drupal.EPSACrop.init == false)Comment #2
jphelan commentedIf anyone else runs into this issue you'll need to change epsacrop.js in two other places as well.
Line 51
Drupal.EPSACrop.presets = eval('(' + $('#edit-epsacropcoords').val() + ')');Line 15
$('#edit-epsacropcoords').val(JSON.stringify(Drupal.EPSACrop.presets));Comment #3
yvmarques commentedHi,
If you've it, it means that you've twice a node form on the same page.
Is it the case ?
-- Yvan
Comment #4
jphelan commentedNo, I only have one image field on the node type, it that's what you mean.
Comment #5
sebas5384 commentedSame problem over here :(
I cant understand how this happened all of a sudden.
Comment #6
yvmarques commented