From c9d3467e0a3d92cf5c0ffb8b607b42adfbc8bc5c Mon Sep 17 00:00:00 2001 From: that0n3guy Date: Thu, 29 Sep 2011 12:46:28 -0500 Subject: [PATCH] added autocomplete deluxe references compatability --- entityreference.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/entityreference.module b/entityreference.module index 60230a7..3bcaa61 100644 --- a/entityreference.module +++ b/entityreference.module @@ -488,7 +488,7 @@ function entityreference_autocomplete_callback($type, $field_name, $entity_type, $tag_last = $string; } - if (!empty($tag_last)) { + if (!empty($tag_last) || $instance['widget']['type'] == 'entityreference_autocomplete_deluxe') { // Get an array of matching entities. $entity_labels = $handler->getReferencableEntities($tag_last, $instance['widget']['settings']['match_operator'], 10); -- 1.7.0.4