When creating a new node. The autocompletes give a ajax error. Introduced with core function opigno_og_context_handler.
"Related to your first post. Regarding the ajax error. This bug was recently introduced, and it is only triggered on a node add, not when editing a node. Instead of changing the widgets of the fields, you can edit the opigno.module, inside the function opigno_og_context_handler(), change the line
if (og_is_group('node', node_load(arg(6)))) {
to
if (is_numeric(arg(6))&&og_is_group('node', node_load(arg(6)))) {
We will include this on our next release. Thank you for your feedback. Best regards"
Comment | File | Size | Author |
---|---|---|---|
#3 | opigno.module.diff | 807 bytes | diegodalr3 |
Comments
Comment #1
Jamesap CreditAttribution: Jamesap commentedComment #2
Jamesap CreditAttribution: Jamesap commentedFix pushed to Opigno module.
http://drupalcode.org/project/opigno.git/commit/9deccbe
Comment #3
diegodalr3 CreditAttribution: diegodalr3 commentedI think the problem is the autocomplete is not only for nodes, should be for all entities referenced. Attach this patch as possible solution.
Comment #4
Jamesap CreditAttribution: Jamesap commentedReleased in Opigno 1.8