Closed (fixed)
Project:
Documentation
Version:
x.y.z
Component:
Developer Guide
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
31 Jul 2005 at 05:01 UTC
Updated:
5 Jan 2007 at 08:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
killes@www.drop.org commentedGordon, is that still an issue?
Comment #2
gordon commentedYes as far as I know, it is still an issue. This is more to do with the browsers not running the window.onload when there is a on_load in the page.
One option is that we obsolete the on_load and force all modules to use the new js function.
Comment #3
gordon commentedRemoved theme('onload_attributes') as this causes the new js stuff to die.
If you need to run some js on_load then use the new js addLoadEvent() to start a function.
Comment #4
gordon commentedComment #5
gordon commentedhere is a patch to remove the on_load hook from the documentation
Comment #6
darius commentedSeems that removing hook_onload is the right thing to do at this stage. There was a duplicate issue http://drupal.org/node/31755 which I just closed that discussed the same problem.
Darius
Comment #7
chx commentedComment #8
dries commentedCommitted this to HEAD. Moving this to the documentation project as the documentation patch still needs committing. I'd also add a note to the upgrade guide.
Comment #9
bryan kennedy commentedI added this issue to the module upgrade handbook page
Comment #10
sepeck commentedas it's added to the docs, closing