Merge pull request #2763 from colemanw/master
[civicrm-core.git] / CRM / Case / Form / ActivityToCase.php
index c63128c813115ac80552d86a9243f2f58c396b3a..f6152800f18ba0e63132d8e5458c2f498143d269 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -62,7 +62,7 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form {
    *
    * @access public
    *
-   * @return void
+   * @return array
    */
   function setDefaultValues() {
     $targetContactValues = $defaults = array();
@@ -91,8 +91,7 @@ class CRM_Case_Form_ActivityToCase extends CRM_Core_Form {
     $tokenUrl = CRM_Utils_System::url("civicrm/ajax/checkemail", "noemail=1", FALSE, NULL, FALSE);
     $this->assign('tokenUrl', $tokenUrl);
 
-    $this->add('text', 'unclosed_cases', ts('Select Case'));
-    $this->add('hidden', 'unclosed_case_id', '', array('id' => 'open_case_id'));
+    $this->add('text', 'unclosed_case_id', ts('Select Case'), array('class' => 'huge'), TRUE);
     $this->add('text', 'target_contact_id', ts('With Contact(s)'));
     $this->add('text', 'case_activity_subject', ts('Subject'), array('size' => 50));
   }