Bug Tracker

Modify

Ticket #3158 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

"1 item remaining" issue in IE

Reported by: enots Owned by:
Priority: major Milestone: 1.2.3
Component: event Version: 1.2.1
Keywords: Cc:
Blocking: Blocked by:

Description

Sometimes in IE 7 a page with jQuery.js included never loads completely. In the status bar it says "1 item remaining". As a result the document.ready function never runs. I found that this problem has to do with the next line in jQuery.js:

document.write("<scr" + "ipt id=ie_init defer=true " +

"src=:><\/script>");

This problem can be solved by changing src=: into scr=blank.js, where blank.js is probably a nonexisting file.

This problem occurs in other javascript libraries as well. I solved this jQuery problem with the comment at:  http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/a1c745463251a95d

Maybe there is a better fix than using blank.js. I thought I send this in as a ticket. It took me lots of time to solve this problem. It is hard to reproduce this issue. I cannot give you access to the web application where we struggled with this issue, as it is an secure site with medical personal data.

Thanks for jQuery!

Enots

Change History

comment:1 Changed 5 years ago by flesler

  • Version changed from 1.2.1 to 1.2.6
  • Component changed from core to event
  • Milestone changed from 1.2.1 to 1.3

comment:2 Changed 5 years ago by davidserduke

  • Status changed from new to closed
  • Version changed from 1.2.6 to 1.2.1
  • Resolution set to fixed
  • Milestone changed from 1.3 to 1.2.3

I see this was originally reported with version 1.2.1 so it was likely fixed by 1.2.3 where the document.write() trick was no longer used. But since it was reported 4 months ago which is after 1.2.3 went final perhaps there is still a problem here that I don't understand. If that is the case, please reopen the ticket with more information.

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.