The information in hook_library() is slightly outdated, for example adding misc/ajax.js as a regular javascript file with a crude weight setting instead of referring to the core library causes all sorts of ajax issues.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | dialog-library-1368496.patch | 1.12 KB | smk-ka |
Comments
Comment #1
smk-ka commentedThe attached patch
- moves ajax.js to the dependency list,
- fixes the use of javascript "weight" and "group", and
- fixes the bogus "form" dependency.
Comment #2
smk-ka commentedComment #3
robloachThanks!