jQuery: The Write Less, Do More JavaScript Library

jquery real-world demo image cropper - ui.instance undefined

View: New views
4 Messages — Rating Filter:   Alert me  

jquery real-world demo image cropper - ui.instance undefined

by Lukus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi.  Using the code from the demo at...

http://ui.jquery.com/repository/real-world/image-cropper/

..both my testing and the demo page itself error with "ui.instance is
undefined" in firebug.
I am using jquery ui version 1.5.2 but the demo hasn't been working
for a couple of releases in FF or IE.

I bet this worked at one time and wondering if anyone knows what's
changed.  What are the correct call back arguments to access the data?

Any clues are appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: jquery real-world demo image cropper - ui.instance undefined

by GreyCells-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Lukus

Just remove any references to '.instance' e.g.:

ui.instance.position.left

becomes:

ui.position.left

Not sure if this is a permanent fix or just a temporary work around -
but it seems to work for me...

~GreyCells

On Jul 12, 6:39 am, Lukus <luke.ke...@...> wrote:

> Hi.  Using the code from the demo at...
>
> http://ui.jquery.com/repository/real-world/image-cropper/
>
> ..both my testing and the demo page itself error with "ui.instance is
> undefined" in firebug.
> I am using jquery ui version 1.5.2 but the demo hasn't been working
> for a couple of releases in FF or IE.
>
> I bet this worked at one time and wondering if anyone knows what's
> changed.  What are the correct call back arguments to access the data?
>
> Any clues are appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: jquery real-world demo image cropper - ui.instance undefined

by Richard D. Worth-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's correct. The file on the site was out of date. It's fixed now. Thanks.

- Richard

On Wed, Jul 16, 2008 at 4:29 AM, GreyCells <oldgreycells@...> wrote:

Hi Lukus

Just remove any references to '.instance' e.g.:

ui.instance.position.left

becomes:

ui.position.left

Not sure if this is a permanent fix or just a temporary work around -
but it seems to work for me...

~GreyCells

On Jul 12, 6:39 am, Lukus <luke.ke...@...> wrote:
> Hi.  Using the code from the demo at...
>
> http://ui.jquery.com/repository/real-world/image-cropper/
>
> ..both my testing and the demo page itself error with "ui.instance is
> undefined" in firebug.
> I am using jquery ui version 1.5.2 but the demo hasn't been working
> for a couple of releases in FF or IE.
>
> I bet this worked at one time and wondering if anyone knows what's
> changed.  What are the correct call back arguments to access the data?
>
> Any clues are appreciated.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: jquery real-world demo image cropper - ui.instance undefined

by Lukus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Excellent! This corrected this issue.  I see it's also been corrected
on the demo.  Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@...
To unsubscribe from this group, send email to jquery-ui-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price