Merge pull request #4675 from jitendrapurohit/CRM-15691
[civicrm-core.git] / CRM / Custom / Form / Option.php
index ea3912c14a3d6bb7bbd5b32e8acba676225b64f8..f509ff60906f17d61844bbb55ed38c9fa6c681c3 100644 (file)
@@ -235,7 +235,7 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
         $this->addElement('button',
           'done',
           ts('Done'),
-          array('onclick' => "location.href='$url'", 'class' => 'form-submit')
+          array('onclick' => "location.href='$url'", 'class' => 'crm-form-submit')
         );
       }
     }
@@ -247,6 +247,9 @@ class CRM_Custom_Form_Option extends CRM_Core_Form {
    *
    * @param array $fields posted values of the form
    *
+   * @param $files
+   * @param $form
+   *
    * @return array list of errors to be posted back to the form
    * @static
    * @access public