Hello,

on my site I use jquery_update module and Drupal for Facebook module. At node edit page the fb.js can't recognize that Jquery cookie is already loaded when I adding more rows into a multiple field.
It says: TypeError: jQuery.cookie is not a function

I suggest a minimal code update to fb.js, line 506

  if (jQuery.isFunction(jQuery.cookie)) {
    jQuery.cookie(key, value, {path: Drupal.settings.basePath});
  }
CommentFileSizeAuthor
#1 fb.js_.2190165.patch460 bytesdanyg
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danyg’s picture

FileSize
460 bytes
Dave Cohen’s picture

That may supress the error, but doesn't set the cookie. Is there some other way to set a cookie in your version?

giorgio79’s picture