Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9122 (new defect)

Opened 10 months ago

Last modified 10 months ago

IE crashes with 1.7.3

Reported by: Karras Assigned to: madrobby
Priority: normal Milestone: 2.x
Component: script.aculo.us Version:
Severity: major Keywords:
Cc:

Description

This function break IE (6,7 in XP and Vista).

var proximo = 2;

function insertarFila (texto1, texto2) {

var fila = document.createElement ('tr'); var celda1 = document.createElement ('td'); var celda2 = document.createElement ('td');

// Si se ha indicado que insertar se ponen esos valores if (texto1 != undefined)

texto1 = document.createTextNode ('Fila ' + texto1);

else

var texto1 = document.createTextNode ('Fila ' + proximo);

if (texto2 != undefined)

texto2 = document.createTextNode ('Nombre ' + texto2);

else

var texto2 = document.createTextNode ('Nombre ' + proximo);

celda1.appendChild (texto1); celda2.appendChild (texto2); fila.appendChild (celda1); fila.appendChild (celda2); fila.visible = false; $('tabla').appendChild (fila); proximo++;

Effect.SlideDown (fila,{duration:2.5}); new Effect.Highlight (fila,{duration:.5});

}

But in Firefox it's correct.

Change History

07/30/07 10:50:07 changed by Karras

  • summary changed from IE broken to IE crashes with 1.7.3.