Hello,

Great module. One thing I found I needed was being able to detect when the autocomplete field was updated.

In entity_reference_tree.js I changed:

$("#" + fieldEditID).val(selectedEntites);

to:

$("#" + fieldEditID).val(selectedEntites).trigger('change');

This allows another of my modules to do what it is trying to do. Without this, other javascript does not know the field value has been changed dynamically.

Comments

JaceRider created an issue. See original summary.

jacerider’s picture

Here's a patch if it helps.

mingsong’s picture

Thanks for the patch.

It is pushed to the Dev branch.

mingsong’s picture

Status: Active » Needs review
mingsong’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.