OG Audience Inline does not work with latest jQuery (with Solution)

gnosis.kv - April 5, 2008 - 02:06
Project:OG Audience
Version:5.x-1.1
Component:OG Audience Inline
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I found OG Audience inline does not work with latest jQuery. For me, i am using jQuery 1.2.3.

To solve this problem, just simply

find

$("div[@id=node-" + nid + "]/div.content").append('<div id="node-ogaudience" style="display: block;">' + html_form + '</div>');

and replace by

$("div[@id=node-" + nid + "]").append('<div id="node-ogaudience" style="display: block;">' + html_form + '</div>');

 
 

Drupal is a registered trademark of Dries Buytaert.