CRM-15976 - Show relationship selector on newline to avoid pushing elements off screen
authorColeman Watts <coleman@civicrm.org>
Mon, 9 Mar 2015 15:39:54 +0000 (11:39 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 9 Mar 2015 15:39:54 +0000 (11:39 -0400)
CRM/Contact/Form/Search/Criteria.php
templates/CRM/Contact/Form/Search/Criteria/Basic.tpl

index 4921ddbd8ad8d326c12f04c66264f5e6470ec787..995b4158925a74546d3a3e2e3794805ae8fa8a13 100644 (file)
@@ -219,7 +219,8 @@ class CRM_Contact_Form_Search_Criteria {
     $form->addElement('select',
       'display_relationship_type',
       ts('Display Results as Relationship'),
-      $rSelect
+      $rSelect,
+      array('class' => 'crm-select2')
     );
 
     // checkboxes for DO NOT phone, email, mail
index c253b45a0d0768d62f51e8c1aeca763f6b610aac..b05e66a85b7912d4f025fd00e82c836f51c0dd40 100644 (file)
@@ -61,7 +61,7 @@
         <br />
         {$form.component_mode.html}
         {if $form.display_relationship_type}
-          <span id="crm-display_relationship_type">{$form.display_relationship_type.html}</span>
+          <div id="crm-display_relationship_type">{$form.display_relationship_type.html}</div>
         {/if}
       {else}
           &nbsp;