X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContact%2FForm%2FRelationship.tpl;h=40295ddcc5b51fc8fb5b34aabc7720aeecea4fb2;hb=4bbcbcbb713357f4e5dff143eeb4a243ad6ea6c9;hp=79650bebba8f2e7cd85f3e5f2d0a61d40973a847;hpb=ca64e0dd7438bbaade9bd083c7a4650138cbf1a3;p=civicrm-core.git diff --git a/templates/CRM/Contact/Form/Relationship.tpl b/templates/CRM/Contact/Form/Relationship.tpl index 79650bebba..40295ddcc5 100644 --- a/templates/CRM/Contact/Form/Relationship.tpl +++ b/templates/CRM/Contact/Form/Relationship.tpl @@ -1,6 +1,6 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.3 | + | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ @@ -168,7 +168,7 @@ var relContact = cj('#contact_1'); if ( relType ) { var dataUrl = {/literal}'{crmURL p="civicrm/ajax/rest" h=0 q="className=CRM_Contact_Page_AJAX&fnName=getContactList&json=1&context=relationship&rel="}'{literal} + relType; - relContact.autocomplete( dataUrl, { width : 180, selectFirst : false, matchContains: true }); + relContact.autocomplete( dataUrl, { width : 200, selectFirst : false, matchContains: true, max: {/literal}{crmSetting name="search_autocomplete_count" group="Search Preferences"}{literal} }); relContact.result(function( event, data ) { cj("input[name='contact_select_id[1]']").val(data[1]); cj('#relationship-refresh-save').show( );