Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5035,7 +5035,7 @@ nsDocShell::FinishRestore()
|
||||
if (doc) {
|
||||
// Finally, we remove the request from the loadgroup. This will
|
||||
// cause onStateChange(STATE_STOP) to fire, which will fire the
|
||||
// PageShow event to the chrome.
|
||||
// pageshow event to the chrome.
|
||||
|
||||
nsIChannel *channel = doc->GetChannel();
|
||||
if (channel) {
|
||||
|
||||
Reference in New Issue
Block a user