| @@ -209,9 +209,9 @@ | ||
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | public static function get_sortable_classes( $col, $sort_col, $sort_dir ) { |
| 212 | 212 | echo ( $sort_col == $col ) ? 'sorted' : 'sortable'; |
| 213 | - echo ( $sort_col == $col && $sort_dir === 'desc' ) ? ' asc' : ' desc'; | |
| 213 | + echo ( $sort_col == $col && $sort_dir == 'desc' ) ? ' asc' : ' desc'; | |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | /** |
| 217 | 217 | * @since 3.0 |
| @@ -396,9 +396,8 @@ | ||
| 396 | 396 | 'after_html' => '', |
| 397 | 397 | 'submit_html' => self::get_default_html( 'submit' ), |
| 398 | 398 | 'show_title' => 0, |
| 399 | 399 | 'show_description' => 0, |
| 400 | - 'ajax_submit' => 0, | |
| 401 | 400 | ); |
| 402 | 401 | } |
| 403 | 402 | |
| 404 | 403 | /** |
| @@ -1754,18 +1753,6 @@ | ||
| 1754 | 1753 | return $url; |
| 1755 | 1754 | } |
| 1756 | 1755 | |
| 1757 | 1756 | return str_replace( $original_query, $query, $url ); |
| 1758 | - } | |
| 1759 | - | |
| 1760 | - /** | |
| 1761 | - * Check if Pro isn't up to date yet. | |
| 1762 | - * If Pro is active but using a version earlier than v6.2 fallback to Pro for AJAX submit (so things don't all happen twice). | |
| 1763 | - * | |
| 1764 | - * @since 6.2 | |
| 1765 | - * | |
| 1766 | - * @return bool | |
| 1767 | - */ | |
| 1768 | - public static function should_use_pro_for_ajax_submit() { | |
| 1769 | - return is_callable( 'FrmProForm::is_ajax_on' ) && ! is_callable( 'FrmProFormsHelper::lite_supports_ajax_submit' ); | |
| 1770 | 1757 | } |
| 1771 | 1758 | } |