The error message:
Undefined index: system in jquery_ui_library_alter() line 79
The attached patch fix the bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jquery_ui-HEAD.hook-library.patch | 914 bytes | sun |
| jquery_ui.module.patch | 742 bytes | quiptime |
The error message:
Undefined index: system in jquery_ui_library_alter() line 79
The attached patch fix the bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jquery_ui-HEAD.hook-library.patch | 914 bytes | sun |
| jquery_ui.module.patch | 742 bytes | quiptime |
Comments
Comment #1
sunCommitted attached patch. However, this concept/flow no longer works, because 'add callbacks' has been removed from the core hook_library() patch. How to solve this, is to be discussed in a separate issue.
Comment #2
quiptime commentedDrupal 6: Implementation of hook_foobar().
Drupal 7: Implement hook_foobar().
Other thing is:
function jquery_ui_library_alter(&$libraries, $module)
Implementation of hook_library() is not right. Right is:
Implement hook_library_alter().
Comment #3
sunI've fixed the wrong hook name, thanks.
But I won't adhere to the new "Implement ..." thing, because that change to coding standards was short-sighted, silly, and plain wrong. Additionally, it is intended to be a "temporary standard" only, or whatever. Sorry. -- Please note that I don't mean you with anything in this rant! ;) But thanks for noting it.
Comment #4
quiptime commentedI think this is not a temporary standard: Converting 6.x modules to 7.x