Object has not method 'Jcrop'
-
I’m getting the following JavaScript error when I try to add or edit pages.
Uncaught TypeError: Object [object Object] has no method 'Jcrop'
It’s reporting to be on post-new.php line 110 and appears to be coming from the following code.
/** * jClop */ jQuery(document).ready(function($) { $(function(){ $('#cropbox').Jcrop({ minSize: [ , ], maxSize: [ , ], allowResize: true, setSelect:[ , , , ], onSelect: updateCoords }); }); function updateCoords(c) { $('#x').val(c.x); $('#y').val(c.y); $('#x2').val(c.x2); $('#y2').val(c.y2); $('#w').val(c.w); $('#h').val(c.h); }; });
By itself it doesn’t appear to be a problem, but it is causing any other JavaScript calls on any add/edit page to fail which is causing problems with other plugins not being able to run their scripts.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Object has not method 'Jcrop'’ is closed to new replies.