Flags don't work because drupal_add_js in preprocess add the conditions every time a flag pass throught preprocess function.

Comments

rafaelcaceres’s picture

Here's a patch. Just create an static to verify if condition is already loaded.

sebas5384’s picture

Status: Active » Fixed

Hey Rafa! thanks for the patch!

Here is the commit :)

http://drupalcode.org/project/conditional_flags.git/commitdiff/ef0e724

Thanks!,
Sebas.

sebas5384’s picture

Status: Fixed » Closed (fixed)

Just update your module to the 7.x-1.0-beta4