| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * On Submit form action |
| 4 | 4 | * |
| 5 | 5 | * @package Formidable |
| 6 | - * | |
| 7 | 6 | * @since 6.0 |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -12,16 +11,13 @@ | ||
| 12 | 11 | } |
| 13 | 12 | |
| 14 | 13 | class FrmOnSubmitAction extends FrmFormAction { |
| 15 | 14 | |
| 16 | - /** | |
| 17 | - * @var string | |
| 18 | - */ | |
| 19 | 15 | public static $slug = 'on_submit'; |
| 20 | 16 | |
| 21 | 17 | public function __construct() { |
| 22 | 18 | $action_ops = array( |
| 23 | - 'classes' => 'frmfont frm_checkmark_icon', | |
| 19 | + 'classes' => 'frm_icon_font frm_checkmark_icon', | |
| 24 | 20 | 'active' => true, |
| 25 | 21 | 'event' => array( 'create' ), |
| 26 | 22 | 'limit' => 99, |
| 27 | 23 | 'priority' => 9, |
| @@ -42,18 +38,14 @@ | ||
| 42 | 38 | return __( 'Confirmation', 'formidable' ); |
| 43 | 39 | } |
| 44 | 40 | |
| 45 | 41 | /** |
| 46 | - * @param object $instance | |
| 47 | - * @param array $args | |
| 42 | + * @return void | |
| 48 | 43 | */ |
| 49 | 44 | public function form( $instance, $args = array() ) { |
| 50 | 45 | include FrmAppHelper::plugin_path() . '/classes/views/frm-form-actions/on_submit_settings.php'; |
| 51 | 46 | } |
| 52 | 47 | |
| 53 | - /** | |
| 54 | - * @return array | |
| 55 | - */ | |
| 56 | 48 | public function get_defaults() { |
| 57 | 49 | return array( |
| 58 | 50 | 'success_action' => FrmOnSubmitHelper::get_default_action_type(), |
| 59 | 51 | 'success_msg' => FrmOnSubmitHelper::get_default_msg(), |