Missing options to upload delete etc, only having browse, even for user1. Using garland. Worked fine before. then i installed facebook for drupal and buttons dissapeared for all users. I know this could be because of that module but then again maybe some bug is here that makes that happen.

Comments

ufku’s picture

Status: Active » Closed (works as designed)

fb.js assumes Drupal.settings.fb is always defined.
Adding if (!Drupal.settings.fb) return; at the top of Drupal.behaviors.fb function might work.

Marko B’s picture

Marko B’s picture

Confirming tha #1 also work and should be used instead.

Dave Cohen’s picture

Can anyone explain why Drupal.settings.fb is always defined, except for this one case when IMCE is enabled? Seems like your proposed solution does not solve the underlying problem.

ufku’s picture

I think it's because IMCE has it's own page template which does not need page preprocess.