[buddypress-trac] [BuddyPress Trac] #6201: Uncaught TypeError: undefined is not a function on line 1326 of global.js
buddypress-trac
noreply at wordpress.org
Fri May 22 16:52:19 UTC 2015
#6201: Uncaught TypeError: undefined is not a function on line 1326 of global.js
--------------------------+-----------------------
Reporter: tnoguchi | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: API | Version: 2.2
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Changes (by rpayne7264):
* status: closed => reopened
Comment:
This bug is still an issue.
I just installed the latest version of BP: Version 2.2.3.1
The bug resulted in the script of my plugin for logging in with LinkedIn
not executing and attaching the click event to the login button.
I had the modify functions bp_init_activity and bp_init_objects in
global.js, by adding a check:
if(typeof jq.cookie == 'undefined')return;
After doing that, the login button functions as expected.
You might also want to consider changing the jQuery object instantiation
to the following:
var jq = jQuery.noConflict();
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6201#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list