3

I want to implement jquery.Jcrop.js in a custom extension.

Because this look great! Jcrop

And it's bundled with Joomla, located under:
media\system\js\jquery.Jcrop.js

And it's used in:
administrator\components\com_templates\views\template\tmpl\default.php administrator\templates\hathor\html\com_templates\template

But it looks like it's not working when used in a template. See image.

enter image description here

Does anyone have an idea how to implement / or where it is used in a Joomla extension?

Regards,

Gosling

1 Answer 1

2

This error I believe is due to the following console log error:

SyntaxError: missing : after property id

trueSize: 469,159]

It currently a bug in Joomla. I'll have a quick look through the code to see if there's a fix, but it might be an idea to report this bug to the Joomla-CMS repository on Github.

Update:

I've fixed it. See the Pull Request

2
  • 1
    Update: I merged it :P Feb 27, 2015 at 15:27
  • Don't know why I didn't check the console myself! :-) Mar 1, 2015 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.