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.

CommentFileSizeAuthor
#1 dialog-library-1368496.patch1.12 KBsmk-ka

Comments

smk-ka’s picture

StatusFileSize
new1.12 KB

The attached patch
- moves ajax.js to the dependency list,
- fixes the use of javascript "weight" and "group", and
- fixes the bogus "form" dependency.

smk-ka’s picture

Status: Active » Needs review
robloach’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.