Skip to main content

Bug Tracker

Side navigation

#3841 closed bug ()

Opened January 14, 2009 03:17AM UTC

Closed November 11, 2010 11:09PM UTC

Callback does not fire in Chrome when page is cached

Reported by: RobG Owned by: RobG
Priority: major Milestone: 1.3
Component: event Version: 1.2.6
Keywords: chrome, callback, fadein, function Cc:
Blocked by: Blocking:
Description

While using google chrome i have this code

$(document).ready(

function(){

$("#PageLoading").fadeOut("slow", function(){

$("#LoadedContent").fadeIn("slow");

});

}

)

#PageLoading is a message div, above the hidden (display:none) #LoadedContent. This is on every page of my admin area.

It works as expected on first access (or when i use CTRL+F5), but when using menu links, or forward backward navigation to access pages the callback event is not fired. The PageLoading has it's style set to 'display:none', but the style of LoadedContent is still set to 'display:none'

I have tested (and its works fine) in IE, FF, Safari and Opera?!

Attachments (0)
Change History (4)

Changed November 19, 2009 04:32PM UTC by Emmett comment:1

I encountered this problem in my company's large application. I haven't been able to reproduce it in a test page, but it's definitely real. It is only present in Chrome 4 beta -- Chrome 3 works fine.

I have described the problem and offered a stopgap solution plugin here:

http://emmett.be/thewebdev/archives/46

Changed November 19, 2009 04:33PM UTC by Emmett comment:2

Oh and I didn't find it varied depending on the cache... it does it first time for me, and on reload.

Changed October 27, 2010 11:09PM UTC by rwaldron comment:3

owner: brandonRobG
status: newpending

Please provide a distilled and reduced jsFiddle test case, thanks!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:4

status: pendingclosed

Automatically closed due to 14 days of inactivity.