Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#3293 closed bug (invalid)

IE6 Crash, query 1.2.6, ajax

Reported by: kaa1999 Owned by:
Priority: major Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: Cc: flesler, kaa1999
Blocked by: Blocking:

Description

Some version of IE6 CRASH. Page = http://noyabrsk-inform.ru/afisha

Code:

$(window).ready(

function() {

alert('Начало загрузки ajax');

$("#cbar > .header").remove(); draw_left_menu(); show_lenta();

}

);

загрузка левого меню

function draw_left_menu() {

$("#lbar").html('<p><img src="/images/loading.gif" /></p>');

$.post("/modules/afisha/get_lm.php",

function(data) {

$("#lbar").html(data); alert('Меню загружено!');

}

);

}

function show_lenta( ts ) {

$("#left_lenta").html('<p>Загрузка ленты...</p>');

$.post("/modules/afisha/lenta.php", { ts: ts },

function(data){

if ( $.trim(data) != )

$("#left_lenta").html(data);

else

$("#left_lenta").html('<p>Нет событий на указанную дату</p>');

alert('Лента загружена!'); show_week( ts );

}

);

}

function show_week( ts ) {

$.post("/modules/afisha/week.php", { ts: ts },

function(data) {

if ( !ts )

$("#afisha_lenta > .header").after(data);

else

$("#week").html(data);

alert('Календарь загружен!');

}

);

}

function over_day(td) {

td.style.background = '#ffffff';

}

function out_day(td) {

td.style.background = '#000000';

}

function click_day( ts ) {

var d = new Date(); d.setTime( ts+'000' ); var date = d.getDate(); var month = months[d.getMonth()]; $("#time").text(date+' '+month);

show_lenta( ts );

}

Change History (3)

comment:1 Changed 12 years ago by flesler

Cc: flesler kaa1999 added
need: ReviewTest Case

Can you provide a minimalistic test case to reproduce this error ? That is, an html file with the required html/js to cause to error. Try to exclude any irrelevant code.

comment:2 Changed 12 years ago by kaa1999

Hello, thank's, i'm resolve this problem. Jquery work fine, but PHP script not work property, if it contain string like 'header(...)'. This string crash some old version Internet Explorer 6.

comment:3 Changed 12 years ago by flesler

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.