Hi
After i installed Facebook connect my drag and drop function stop working. basically every time I drag a block the field set stay sticky to the mouse thus not allowing me to save anything
I am not a coder but how can I fix this I really love the facebook connect module

Comments

aaron stanush’s picture

Version: » 6.x-1.0-beta6

I can confirm this bug on my site as well. While the Facebook Connect module is enabled, all drag and drop interfaces (most importantly, the block and menu system) break. Once you click an item to drag it, you cannot let go of the item. Even if you get the items in the spot you want, clicking submit will not save their positions. When I disable the module normal click and drag functionality resumes.

demian dellinger’s picture

I want to confirm this exact problem on two installations.

Very Critical.

aaron stanush’s picture

Title: Facebook connect destroy Drag and drop function » Facebook Connect breaks Drag and Drop functionality sitewide

Updating issue title

NieMarie’s picture

Yes, I'm having the same problem as well.

deanmeistr’s picture

I have the same problem...usually have to click or hit return to release the mouse. Also have noticed that I cannot save changes in block order afterwards, the change made isn't saved.

poundy’s picture

Same problem, I was wondering what caused this. It is good to know.

bcobin’s picture

The module in its current state clearly has conflicts with javascript used by both Drupal and other modules - I wish I had the ability to diagnose this, but I don't, unfortunately. Anybody have any ideas?

Temporary workaround here on the js issue (other than disabling the module) is to:

- Disable javascript on the pages in question
- Make changes using weights
- Save
- Re-enable javascript when you're done.

Looking forward to a fix for this - thanks to the developers and community for what I hope will soon be a very cool module!

markdorison’s picture

I am experiencing the same issue.

LaNets’s picture

It seems the javascript library provided by facebook comes into conflict with the javascript in drupal, module like gmap, or the ajax fields of taxonomy are also impacted.

Driscoll’s picture

I'd just like to confirm that it's broken in beta6 and the current dev version. The autocomplete boxes for tags get filled up with a bunch of plaintext javascript functions. I'll take a crack at it, if anyone familiar with the code can steer me in the right direction.

randallknutson’s picture

Okay I just ran into this myself. I've narrowed it down to the last line in FeatureLoader.js that loads in some javascript from Facebook.

FB.Bootstrap.loadResourceMaps({"Base":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":null},"Common":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["Base"]},"XdComm":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["Common"]},"CacheData":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z2O2X\/l\/ck0tst4k\/nu_ll\/117867\/js\/api_lib\/v0.4\/CacheData.js","dependencies":["Common","XdComm"]},"Api":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["XdComm"]},"CanvasUtil":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["Common","XdComm"]},"Connect":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["CanvasUtil","Api"],"styleSheets":["http:\/\/static.ak.fbcdn.net\/rsrc.php\/zEB0B\/l\/tuzygy0b\/en_US\/136733\/css\/fb_connect.css"]},"XFBML":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z3Z0P\/lpkg\/8i84c2hf\/en_US\/141\/138369\/js\/connect.js.pkg.php","dependencies":["CanvasUtil","Api","Connect"]},"Integration":{"src":"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z5GAF\/l\/d2moxi08\/nu_ll\/132011\/js\/api_lib\/v0.4\/Integration.js","dependencies":["Connect"]}}, {"base_url_format":"http:\/\/{0}.facebook.com\/","api_channel":139437,"api_server":139437,"www_channel":139438,"xd_comm_swf_url":"http:\/\/static.ak.fbcdn.net\/swf\/XdComm.swf?7:132011","login_img_dark_small_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_dark_small_short.gif?7:121638","login_img_dark_medium_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_dark_medium_short.gif?7:121638","login_img_dark_medium_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_dark_medium_long.gif?7:121638","login_img_dark_large_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_dark_large_short.gif?7:121776","login_img_dark_large_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_dark_large_long.gif?7:121638","login_img_light_small_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_light_small_short.gif?7:121638","login_img_light_medium_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_light_medium_short.gif?7:121776","login_img_light_medium_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_light_medium_long.gif?7:121776","login_img_light_large_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_light_large_short.gif?7:121776","login_img_light_large_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_light_large_long.gif?7:121638","login_img_white_small_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_white_small_short.gif?7:121638","login_img_white_medium_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_white_medium_short.gif?7:121638","login_img_white_medium_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_white_medium_long.gif?7:121638","login_img_white_large_short":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_white_large_short.gif?7:121638","login_img_white_large_long":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/login-buttons\/connect_white_large_long.gif?7:121638","logout_img_small":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/logout-buttons\/logout_small.gif?7:132011","logout_img_medium":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/logout-buttons\/logout_medium.gif?7:132011","logout_img_large":"http:\/\/static.ak.fbcdn.net\/images\/fbconnect\/logout-buttons\/logout_large.gif?7:132011"});

When I comment that line out, drag and drop works again but the facebook javascript no longer works.

LaNets’s picture

Status: Active » Patch (to be ported)

Hello, the latest dev version correct this problem, this fix will be part of the next release.
Thank you for your participation in the resolution of this bug.

Driscoll’s picture

Great, thanks a ton.

bcobin’s picture

Drag and drop for blocks does seems to be OK now (thank you much!) but reordering in Views still breaks.

Almost there...

socialnicheguru’s picture

This also happens in D5 version... anyway to fix it there too?

http://drupal.org/node/380488

LaNets’s picture

Status: Patch (to be ported) » Fixed

Fixed in 6.x-1.0-beta7.

pauldawg’s picture

Excellent, this works great!

Status: Fixed » Closed (fixed)

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