Order of javascript altered by gallery_set_javascript
mindless - September 28, 2009 - 21:19
| Project: | Gallery |
| Version: | 6.x-1.0 |
| Component: | Code / API |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The G2 Hybrid theme writes an inline script that sets some variables, followed immediately by a script include for a js file that will reference those variables. The handling in gallery_set_javascript results in the file include coming before the inline script when embedded in Drupal 6, resulting in script errors due to variables not being set.
