Bug Tracker

Modify

Ticket #3293 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by flesler

  • Cc flesler, kaa1999 added
  • need changed from Review to Test 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 5 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 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.