← Back to team overview

vopdcteam team mailing list archive

[Bug 532188] Re: 1.5rc2 applet fails to launch when running in Safari

 

aha. worked around it - use a timer to run a task some time in the
future, and so escape causing the deadlock. My custom setStatusIcon :

function setStatusIcon(args) {
		setTimeout(function() {
			if(WebSampConnector.getApplet().isConnectedToHub()) {
	        	 showConnected();
			} else {
	        	 showNotConnected();
			}
		},10);
   };

I've tested this on Safari and Firefox on OSX

-- 
1.5rc2 applet fails to launch when running in Safari
https://bugs.launchpad.net/bugs/532188
You received this bug notification because you are a member of VO-PDC
Team, which is subscribed to WebSampConnector.

Status in VO-PDC WebSampConnector: New

Bug description:
I've integrated WebSampConnector with my website (http://astrogrid.roe.ac.uk/ravioli/). I'm using the latest 1.5rc2 version (as the documentation seems to be referring to this).

After unzipping the distro, if I open the 'demo.html' from from disk with firefox, then the demo works find, and I can connect to a hub.

However, if I do the same with Safari, the demo fails. In particular, the 'applet launch' dialogue does not appear. But, if I do the same with the 1.5 distro(downloaded from the voparis website, not launchpad), this launches the applet and connects to the hub fine.





References