CRM-16310 - Fix option view close button
authorColeman Watts <coleman@civicrm.org>
Wed, 3 Jun 2015 02:07:29 +0000 (22:07 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 3 Jun 2015 02:07:29 +0000 (22:07 -0400)
CRM/Custom/Form/Option.php

index 2d97fc4bc10cbc9773b5d741cdd1ba6e9fd14a2b..dfedc866a5ccc2c4e0ce44b4f68a973651360a75 100644 (file)
@@ -223,7 +223,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
         $this->addElement('button',
           'done',
           ts('Done'),
-          array('onclick' => "location.href='$url'", 'class' => 'crm-form-submit')
+          array('onclick' => "location.href='$url'", 'class' => 'crm-form-submit cancel', 'crm-icon' => 'close')
         );
       }
     }