From f568a67dac19da876e5535805994955de28cf7bc Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 9 Oct 2014 14:17:55 -0400 Subject: [PATCH] Fix contact entityRef placeholder text --- templates/CRM/common/l10n.js.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/common/l10n.js.tpl b/templates/CRM/common/l10n.js.tpl index e6d8e0e358..1fb21b2d0e 100644 --- a/templates/CRM/common/l10n.js.tpl +++ b/templates/CRM/common/l10n.js.tpl @@ -43,7 +43,7 @@ $.fn.select2.defaults.formatLoadMore = "{ts escape='js'}Loading...{/ts}"; $.fn.select2.defaults.formatSearching = "{ts escape='js'}Searching...{/ts}"; $.fn.select2.defaults.formatInputTooShort = function() {ldelim} - return $(this).data('api-entity') == 'contact' ? {$contactSearch} : {$otherSearch}; + return $(this).data('api-entity').toLowerCase() == 'contact' ? {$contactSearch} : {$otherSearch}; {rdelim}; // Localize jQuery UI -- 2.25.1