See the title.

It looks like this is a D6 leftover, no idea why nobody else stumbled over this.

Drupal 7 has $data as the first argument and everything else as an $options array after that. Makes the call look kinda wird, but it works :)

CommentFileSizeAuthor
views_drupal_add_css.patch508 bytesberdir

Comments

merlinofchaos’s picture

Status: Active » Needs review

Setting proper status.

dawehner’s picture

Status: Needs review » Fixed

A slighly related issue.
#1186016: Tests for Javascript caching

From reading drupal_add_css your patch seems very valid. Commited to 7.x-3.x
Thanks for writing it!

Status: Fixed » Closed (fixed)

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