Flags don't work because drupal_add_js in preprocess add the conditions every time a flag pass throught preprocess function.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flag-dont-work-on-ajax-loaded-content-1846262.patch | 1000 bytes | rafaelcaceres |
Flags don't work because drupal_add_js in preprocess add the conditions every time a flag pass throught preprocess function.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flag-dont-work-on-ajax-loaded-content-1846262.patch | 1000 bytes | rafaelcaceres |
Comments
Comment #1
rafaelcaceres commentedHere's a patch. Just create an static to verify if condition is already loaded.
Comment #2
sebas5384 commentedHey Rafa! thanks for the patch!
Here is the commit :)
http://drupalcode.org/project/conditional_flags.git/commitdiff/ef0e724
Thanks!,
Sebas.
Comment #3
sebas5384 commentedJust update your module to the 7.x-1.0-beta4