Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/07/2009, 12:13
kbmaster
 
Fecha de Ingreso: julio-2009
Mensajes: 42
Antigüedad: 14 años, 9 meses
Puntos: 3
Respuesta: Problemas con mootools 1.2.3

me autorespondo por si a alguien le sirve..y por si me mande alguna....jaja...q eficiencia...

lo q hice fue modificar lo siguiente en la libreria cambiando las ocurrencias de doc.window -en donde daba error- por doc.parentWindow y listo:

var Document = new Native({

name: 'Document',

legacy: (Browser.Engine.trident) ? null: window.Document,

initialize: function(doc){
$uid(doc);
doc.head = doc.getElementsByTagName('head')[0];
doc.html = doc.getElementsByTagName('html')[0];
if (Browser.Engine.trident4) $try(function(){
doc.execCommand("BackgroundImageCache", false, true);
});
if (Browser.Engine.trident) doc.parentWindow.attachEvent('onunload', function() {
doc.parentWindow.detachEvent('onunload', arguments.callee);
doc.head = doc.html = doc.window = null;
});
return $extend(doc, Document.Prototype);
},

afterImplement: function(property, value){
document[property] = Document.Prototype[property] = value;
}

});