Potential bug and fix for ui.resizable.js
Someone with more experience than me should confirm if this is the
valid fix or if it is just fixing a symptom of some other problem.
While the old line worked for Firefox, I'm surprised I haven't seen
any other mention of this as it was a show stopper for IE7.
Old line:
for(var i in this.options.modifyThese) {
Error message on line "c[0].css({...})":
Microsoft JScript runtime error: '0' is null or not an object
The value of i was a string "indexOf". As far as I could tell
modifyThese was not being used as a associative array so the "var i in
object" syntax wasn't a valid way to loop through the array.
Changed to:
for(var i = 0; i < this.options.modifyThese.length; i++) {
I've tested this change in Firefox and IE7 and both work as expected
with the new line.
Use at your own risk...
Regards,
--Bernal