I am getting this error when using the pager:

LogicException: You are not allowed to use js in #attached in drupal_process_attached() (line 731 of core/includes/common.inc).

Comments

luksak’s picture

Status: Active » Needs review
StatusFileSize
new2.3 KB

The attached patch fixes the issue for me.

luksak’s picture

StatusFileSize
new1.39 KB

I just realized that I mixed up code for different issues in my patches. This is the right one.

luksak’s picture

sam152’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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