Ticket #1914 (closed bug: fixed)
elem.style has no properties
|Reported by:||Digi||Owned by:|
In firefox, when calling offset() from the dimensions pluggin, I occasionally get the error "elem.style has no properties http://hacksim.metalaxe.com/testing/exploitos/jquery/jquery.js Line 698". This error happens every time when using IE7 as a browser. The error originates from a call to offset() on line 255 of battleship.js.
Test case can be found at: http://hacksim.metalaxe.com/testing/programs/battleship/battlefield.html
To duplicate, especially in IE7, drag a ship from the right on to the grid in the "droppable" td's.
I've also attached battleship.js, battlefield.html and style.css for local testing. I'm using the SVN version of jquery.ui REV 3807