Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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});
}
Comment | File | Size | Author |
---|---|---|---|
#1 | fb.js_.2190165.patch | 460 bytes | danyg |
Comments
Comment #1
danyg CreditAttribution: danyg commentedComment #2
Dave Cohen CreditAttribution: Dave Cohen commentedThat may supress the error, but doesn't set the cookie. Is there some other way to set a cookie in your version?
Comment #3
giorgio79 CreditAttribution: giorgio79 commentedPossible related issue #2161217: jQuery Cookie library is no longer included in jQuery UI