bubbletree icon indicating copy to clipboard operation
bubbletree copied to clipboard

Internet Explorer issues: onhover and onunhover

Open tgillet1 opened this issue 12 years ago • 2 comments

I was getting an error reported as origEvent.pageX being "null or not an object". After some debugging I found that e.origEvent was undefined in the onhover (line 1378) and onunhover (line 1389) events. I tracked the problem to handleMemberHover, which uses vis4.DelayedTask. In vis4.DelayedTask (line 70), additional arguments (in this case just the event object that is to be assigned to origEvent) are processed using a "for (var i in args)" loop, which does not work in IE. I simply changed this to "for (var i = 0; i < args.length; i++)" and the problem was fixed.

tgillet1 avatar Apr 09 '12 17:04 tgillet1

Same issue, @tgillet1 fix worked. I did not hack the vis4 file, I just redefined the vis4.DelayedTask function.

Maybe this is fixed in a newer version of vis4? (as I am using the version that comes with BubbleTree)

zzolo avatar Apr 12 '12 16:04 zzolo

To "Tgillet1": Thank you so much for taking the time to share your discovery regarding the script error in Internet Explorer when you hover or unhover over a bubble. I doubt I would ever had figured this out myself :)

James70 avatar Sep 24 '13 20:09 James70