Problem/Motivation
Some times parameter $javascript in jquery_dollar_js_alter() come empty, this throw a notice:
Notice: Undefined index: core/misc/drupal.init.js in jquery_dollar_js_alter() (line 16 of modules/contrib/jquery_dollar/jquery_dollar.module).
Proposed resolution
I propose add a previous verification before use the parameter $javascript.
Remaining tasks
Commit the path :D
User interface changes
No
API changes
No
Data model changes
No
| Comment | File | Size | Author |
|---|---|---|---|
| jquery_dollar-undefined_index--8.x-1.x-dev.patch | 1.01 KB | psf_ |
Comments
Comment #2
psf_ commentedComment #3
gustavowal commentedThe
issetfromjquery_dollar-undefined_index--8.x-1.x-dev.patchseems to resolve the warnings. +1Comment #4
joaopauloscho commentedIt works for me too.
Comment #6
gueguerreiroThank you @psf_. Your changes are now in the 8.x1.1 release of the module.