Remove scripts.tpl and references to it CRM-12339
[civicrm-core.git] / templates / CRM / common / Navigation.tpl
index 5d1f6788285c6e8cb8ed07b226510b5f8caf0ab9..d79740a541bc1ff6ce242a8b9a4b2758de484f94 100644 (file)
@@ -70,9 +70,8 @@ cj(function( ) {
       minChars: 1,
       matchContains: true,
       delay: 400,
-      max: CRM.config.search_autocomplete_count,
+      max: {/literal}{crmSetting name="search_autocomplete_count" group="Search Preferences"}{literal},
       extraParams:{
-        limit: CRM.config.search_autocomplete_count,
         fieldName:function () {
           return  cj('input[name=quickSearchField]:checked').val();
         },