Ticket #6241 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

Use jQuery onload call when scripts require jQuery

Reported by: azaozz Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: Administration Version: 2.5
Severity: normal Keywords: has-patch
Cc:

Description

Many scripts that call addLoadEvent() require jQuery. Better to call jQuery(document).ready directly.

Also several inline scripts were calling addLoadEvent() when they only had to be moved a bit down in the html to work correctly.

Attachments

js-onload.patch (5.8 kB) - added by azaozz on 03/15/08 22:45:27.

Change History

03/15/08 22:45:27 changed by azaozz

  • attachment js-onload.patch added.

03/15/08 22:57:48 changed by westi

  • status changed from new to closed.
  • resolution set to fixed.

(In [7325]) Switch from addLoadEvent to jQuery(document).ready. Fixes #6241 props azaozz.