Closed GoogleCodeExporter closed 8 years ago
i'll take a look at this. what browser did you test this fix in? the try/catch
is there, as far as i recall, to cater for IE<9, in which SVGAnimatedString is
not available. So the fix as you've written it would break those older IE
browsers, i think. but like i said, i will take a look.
Original comment by simon.po...@gmail.com
on 16 Sep 2012 at 9:20
I was using a very old version of Firefox at work (probably about v3).
I've just tried it on Firefox v15 at home, and you're correct the try-catch
isn't required anymore. Firefox v15 doesn't throw any errors when the try-catch
isn't around the el.addClass(clazz); line.
Original comment by mattdavi...@googlemail.com
on 16 Sep 2012 at 10:02
The main change, which I forgot to highlight in my first post, wasn't the
change to try-catch. It was the change to this line;
jsPlumb.util.svg.addClass(el[0], clazz);
to
jsPlumbUtil.svg.addClass(el[0], clazz);
Not sure if you spotted that in the original post. Thanks
Original comment by mattdavi...@googlemail.com
on 16 Sep 2012 at 10:05
oh right, ha! no i didn't see the difference at all. now it all makes sense.
Original comment by simon.po...@gmail.com
on 16 Sep 2012 at 10:06
fixed in 1.3.15 dev.
Original comment by simon.po...@gmail.com
on 16 Sep 2012 at 10:08
1.3.15 was released today.
Original comment by simon.po...@gmail.com
on 24 Sep 2012 at 1:28
Original issue reported on code.google.com by
mattdavi...@googlemail.com
on 13 Sep 2012 at 10:57