Plugin Directory

Changeset 2518275


Ignore:
Timestamp:
04/20/2021 11:39:16 AM (5 years ago)
Author:
SwiftCloud
Message:

Accidentally pushed old version

Location:
applicant-tracking-system/trunk
Files:
25 added
2 edited

Legend:

Unmodified
Added
Removed
  • applicant-tracking-system/trunk/admin/swift-staff-admin.php

    r2517742 r2518275  
    105105        wp_enqueue_script('swift-staff-admin-script', plugins_url('/js/swift-staff-admin-script.js', __FILE__), array('jquery'), '', true);
    106106        wp_localize_script('swift-staff-admin-script', 'swift_staff_admin_ajax_object', array('ajax_url' => admin_url('admin-ajax.php')));
    107         wp_enqueue_style('swiftcloud-fontawesome', plugins_url('../css/font-awesome.min.css', __FILE__), '', '', '');
     107        wp_enqueue_style('swiftcloud-fontawesome', plugins_url('../public/css/font-awesome.min.css', __FILE__), '', '', '');
    108108
    109109        //only for setting page : image upload
  • applicant-tracking-system/trunk/public/js/swift-staff-custom-script.js

    r2517742 r2518275  
    9595                    email: email,
    9696                    phone: phone,
    97                     form_data: $('#FrmswiftStaffApply').serialize()
     97                    form_data: jQuery('#FrmswiftStaffApply').serialize()
    9898                };
    9999                jQuery.ajax({
     
    103103                    data: data,
    104104                    beforeSend: function (xhr) {
    105                         $('.swiftstaff_form_apply_now').html('<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>').attr('disabled', 'disabled');
     105                        jQuery('.swiftstaff_form_apply_now').html('<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>').attr('disabled', 'disabled');
    106106                    },
    107107                    success: function (response) {
    108108                        if (response.type == "success") {
    109                             $('.swiftstaff_form_apply_now').after('<span class="swiftstaff_success"><i class="fa fa-check"></i> Your request has been received.</span>');
    110                             $('#swiftstaff_applicant_name, #swiftstaff_applicant_email, #swiftstaff_applicant_phone, #swiftstaff_applicant_email_offdomain, #swiftstaff_applicant_resume, #job_captcha_code, #FrmswiftStaffApply textarea').val('');
     109                            jQuery('.swiftstaff_form_apply_now').after('<span class="swiftstaff_success"><i class="fa fa-check"></i> Your request has been received.</span>');
     110                            jQuery('#swiftstaff_applicant_name, #swiftstaff_applicant_email, #swiftstaff_applicant_phone, #swiftstaff_applicant_email_offdomain, #swiftstaff_applicant_resume, #job_captcha_code, #FrmswiftStaffApply textarea').val('');
    111111                        } else {
    112                             $('.swiftstaff_form_apply_now').after('<span class="swiftstaff-error"> Error! while submitting your request.</span>');
     112                            jQuery('.swiftstaff_form_apply_now').after('<span class="swiftstaff-error"> Error! while submitting your request.</span>');
    113113                        }
    114                         $('.swiftstaff_form_apply_now').html('<i class="fa fa-send"></i> &nbsp;Apply Now').removeAttr('disabled');
     114                        jQuery('.swiftstaff_form_apply_now').html('<i class="fa fa-send"></i> &nbsp;Apply Now').removeAttr('disabled');
    115115                    }
    116116                });
Note: See TracChangeset for help on using the changeset viewer.