Ticket #552: ieInherit.patch
| File ieInherit.patch, 0.9 kB (added by euzuro, 2 years ago) |
|---|
-
lib/OpenLayers/BaseTypes.js
old new 23 23 arguments[i] = new mixin(OpenLayers.Class.isPrototype); 24 24 } 25 25 OpenLayers.Util.extend(proto, arguments[i]); 26 27 // This is a hack for IE see 28 // http://trac.openlayers.org/attachment/ticket/552 29 // 30 // The problem is that ie doesnt recognize toString as a property 31 // so the util.extend() doesnt copy it over. we do it manually. 32 // 33 // to be revisited in 3.0 34 // 35 if (arguments[i].toString) { 36 proto.toString = arguments[i].toString; 37 } 26 38 } 27 39 return proto; 28 40 }
