GetHyperlinkAtCursor() issue

3 messages Options
Embed this post
Permalink
J. Tyler

GetHyperlinkAtCursor() issue

Reply Threaded More More options
Print post
Permalink
We have created our own hyperlink dialog and are calling GetHyperlinkAtCursor().   This method works in Java 1.6.0_14 but not in 1.4.2_03 from Firefox 3.0.13 on Vista.  Is there a workaround other than requiring users to upgrade Java?

In 1.4.2_03 the javascript execution stops without an error.  The Java console just reports a Returned Thread.
J. Tyler

Re: GetHyperlinkAtCursor() issue

Reply Threaded More More options
Print post
Permalink

J. Tyler wrote:
We have created our own hyperlink dialog and are calling GetHyperlinkAtCursor().   This method works in Java 1.6.0_14 but not in 1.4.2_03 from Firefox 3.0.13 on Vista.  Is there a workaround other than requiring users to upgrade Java?

In 1.4.2_03 the javascript execution stops without an error.  The Java console just reports a Returned Thread.
OK - I believe I figured out the issue.

I changed my code to call the function on the applet and it worked.  
This works using Safari, FF and IE using 1.4 JRE:
   document.getElementById('body_elj').getHyperlinkAtCursor()
This only worked in FF and IE using the 1.6 JRE:
   document.getElementById('body_js').GetHyperlinkAtCursor()
       
Andrew Herron-5

Re: GetHyperlinkAtCursor() issue

Reply Threaded More More options
Print post
Permalink
 

> J. Tyler wrote:
> >
> > We have created our own hyperlink dialog and are calling
> > GetHyperlinkAtCursor().   This method works in Java 1.6.0_14 but not
> in
> > 1.4.2_03 from Firefox 3.0.13 on Vista.  Is there a workaround other
> than
> > requiring users to upgrade Java?
> >
>
> OK - I believe I figured out the issue.
>
> I changed my code to call the function on the applet and it worked.
> This works using Safari, FF and IE using 1.4 JRE:
>    document.getElementById('body_elj').getHyperlinkAtCursor()
> This only worked in FF and IE using the 1.6 JRE:
>    document.getElementById('body_js').GetHyperlinkAtCursor()

That sounds like a bug that Mozilla fixed in the 3.5.1 release.  You
shouldn't need to upgrade Java, just FireFox :)

Andy
_______________________________________________
[hidden email]
List instructions at http://liveworks.ephox.com/mailing-list/