• Resolved Toby

    (@tobyhawkins)


    Running v1.8 (although the same issue happens in 1.7) with Buddypress v2.1.1.

    On the home page for groups, I get a javascript error if the group is private. The error is thrown on line 27 of general.js: $(‘input.bp-group-documents-new-category’).val(l10nBpGrDocuments.new_category).css(‘color’,’#999′).focus(function(){

    Error is Uncaught TypeError: Cannot read property ‘css’ of undefined.

    The element in question doesn’t appear on either page that I can see. Can’t see why the error is thrown on private groups only.

    https://www.ads-software.com/plugins/bp-group-documents/

Viewing 1 replies (of 1 total)
  • Thread Starter Toby

    (@tobyhawkins)

    My bad. It wasn’t private groups. There was something else behaving weird in the activity stream that was causing the error. Still not hugely sure why, but there we go.

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript error on private groups’ is closed to new replies.