picozone / simplemodal

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

IE's complaining about: support - not defined or null object #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For: SimpleModal
Version of SimpleModal: 1.3.4
Version of jQuery: 1.2.6
Browser/OS: windows/IE6+IE7+Opera10.5

Problem is with this line: 
184: // $.boxModel is undefined if checked earlier
185: ieQuirks = $.browser.msie && !$.support.boxModel;

The following code seems to be fixing the problem: 
// $.boxModel is undefined if checked earlier
if($.support!== undefined){
   ieQuirks = $.browser.msie && !$.support.boxModel;
}else{
   ieQuirks = false;
}

Original issue reported on code.google.com by delusive...@gmail.com on 12 Mar 2010 at 6:18

GoogleCodeExporter commented 8 years ago
delusiveone,

Thanks! I completely forgot about the dependency on 1.3+ by using $.support. 
I'll get
a fix in as soon as possible.

Original comment by emartin24 on 13 Mar 2010 at 12:24

GoogleCodeExporter commented 8 years ago
Zeile: 28
Zeichen: 5
Code: 0
Fehlermeldung: 'length' ist Null oder kein Objekt

the change cause one more error

Original comment by apfel...@betriebsdirektor.de on 8 Apr 2010 at 1:46

GoogleCodeExporter commented 8 years ago
Should be fixed in 1.3.5

Original comment by emartin24 on 20 Apr 2010 at 5:15