diff --git a/modules/ext.PropertySuggester.EntitySelector.js b/modules/ext.PropertySuggester.EntitySelector.js index 2bb3341..6957058 100644 --- a/modules/ext.PropertySuggester.EntitySelector.js +++ b/modules/ext.PropertySuggester.EntitySelector.js @@ -26,9 +26,9 @@ var focusHandler = function( event ) { if( self._useSuggester() && self.element.val() === '' && !self.options.menu.element.is( ":visible" ) ) { - self._minTermLength = 0; + self.options.minTermLength = 0; self._cache = {}; // is done in the entityselector on eachchange too - self.search( event ); + self.search(); } }; self.element.on( 'focus', focusHandler );