Hello everyone, i need some help for using editablefields with nodereference_explorer.

this is my detailed problems.

i use editablefields for nodereference field. the nodereference field using EXplorer widget from NodeReference_Explorer (NRE) module. It's has a bug that editablefields doesn't save value. It seems Editablefields only save value when Browse button is press.

Thx for your big help
Browse but it save

CommentFileSizeAuthor
browsebutitsave.jpg5.45 KBmilham

Comments

milham’s picture

Assigned: Unassigned » milham
Status: Active » Closed (fixed)

I've found the answer.

it's like the problem is on nodereference_explorer.

i edit file nodereference_explorer_plugin_content_nodereference.js,

on:
nodereference_explorer_plugin_content_nodereference_setValue = function(widget, value) {
$(widget).val(value).blur(); //trigger change event for depending actions
}

i changed it into:

nodereference_explorer_plugin_content_nodereference_setValue = function(widget, value) {
$(widget).val(value).change(); //trigger change event for depending actions
}

And it works like a charm. :).

Thx Drupal Community

milham’s picture

Assigned: milham » Unassigned
Status: Closed (fixed) » Active

i'm re open for this issue becauxe now. Editablefields only work only for one node in a page.

Example: when i create a page views with table style with 3 node per page, its only work for the first node. when i press Browse button at the second node, its open the modalframe. but the value is not insert into autocomplete field. so it can't be saved

thx for any help

joelpittet’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this to triage the queue. Feel free to comment if you'd like this to be re-opened, though currently there is nobody supporting the 6.x branch.