Modify ↓
Ticket #4683 (closed bug: worksforme)
Callback for getScript is called too early in Safari and Opera
| Reported by: | inez | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | getScript callback | Cc: | |
| Blocking: | Blocked by: |
Description
var myCallback = function() { ... } $.getScript(myLib, myCallback);
In Safari and Opera myCallback is called too early, before myLib script is downloaded and initialized. Note that this problem may not occur if your network latency is very low or you have myLib in browser cache.
Patch is attached.
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

