Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

jsPumb.hide(); issue in ie7 and ie8 #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Doing something like jsPlumb.hide("window1"); returns an error "'canvas.style' 
is null or not an object: jsplumb.js; Code:0 ; Line631 ; Char:5"

Tested in ie8 with and without compatibility view, may happen in ie9...

Works fine in Chrome and FF,

is there a work around? can i reach the connector and store it in an array upon 
creation so i manually show and hide them?

Sorry if this is my poor programming skills and not really a bug.

Original issue reported on code.google.com by bruno.cr...@gmail.com on 3 Aug 2011 at 5:46

GoogleCodeExporter commented 8 years ago
Bruno,
   If you think it is an issue with the way that you are doing it put together an example on http://jsbin.com or http://jsfiddle.net.

Original comment by david.su...@gmail.com on 3 Aug 2011 at 6:17

GoogleCodeExporter commented 8 years ago
Hi, i've modified my code to just show what happens:
(i stripped my code from all the other stuff)

http://jsbin.com/iyihuv/2/

its using the minified version, but in the non minified the error resides 
within the line 631

Still works with chrome, ff,
not working in ie8 with/without compatibility mode

Thanks :)

Original comment by bruno.cr...@gmail.com on 4 Aug 2011 at 9:06

GoogleCodeExporter commented 8 years ago
i just started to look at this and i noticed one thing - i would _really_ 
prefer it if you did not link to jsplumb scripts on jsplumb.org.  i'm not 
google.  i don't get any benefit from hosting things for you ;)

Original comment by simon.po...@gmail.com on 5 Aug 2011 at 5:05

GoogleCodeExporter commented 8 years ago
this is fixed now, in 1.3.2 in development.  the error would have occurred in 
all IE versions < 9; it was caused by the VML renderer.

1.3.2 will be out in about a week, I think.

Original comment by simon.po...@gmail.com on 5 Aug 2011 at 5:19

GoogleCodeExporter commented 8 years ago
oops sorry about that :) the real version is relative to my host so no worries 
there.
thanks for the feedback, will wait for the next version.

Original comment by bruno.cr...@gmail.com on 5 Aug 2011 at 8:17

GoogleCodeExporter commented 8 years ago
ha, that's cool ;)  i kind of figured you wouldn't be relying on that in a prod 
setup.

Original comment by simon.po...@gmail.com on 5 Aug 2011 at 8:22

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 11 Aug 2011 at 3:41