Closed (works as designed)
Project:
IMCE
Version:
6.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2010 at 07:34 UTC
Updated:
6 Dec 2010 at 21:21 UTC
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
Comment #1
ufku commentedfb.js assumes Drupal.settings.fb is always defined.
Adding
if (!Drupal.settings.fb) return;at the top ofDrupal.behaviors.fbfunction might work.Comment #2
marko b commentedThis made it work.
http://drupal.org/node/981304#comment-3791914
Comment #3
marko b commentedConfirming tha #1 also work and should be used instead.
Comment #4
Dave Cohen commentedCan 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.
Comment #5
ufku commentedI think it's because IMCE has it's own page template which does not need page preprocess.