ahah_helper makes Drupal throw countless of errors, because of:

  drupal_add_js(drupal_get_path('module', 'ahah_helper') .'/ahah_helper.js', 'footer');

The intention was $scope, but $module comes before. See drupal_add_js().

This bug applies to all versions of ahah_helper. hook_init() in 1.x, some helper function in 2.x.

This also means it was never loaded in the footer as intended. Instead, it's loaded in the header, as Drupal core defaults to that for all unknown scopes.

CommentFileSizeAuthor
#1 ahah_helper.footer.1.patch549 bytessun

Comments

sun’s picture

Version: 6.x-2.x-dev » 6.x-1.0
Status: Active » Needs review
StatusFileSize
new549 bytes
Rok Žlender’s picture

Status: Needs review » Closed (duplicate)

This was done in #439084.