Plugin Directory

Changeset 2961462


Ignore:
Timestamp:
09/01/2023 06:00:28 AM (3 years ago)
Author:
prosolution
Message:

1.8.12

  • FIXED Bug:
    • "ExpectedSalary" in application form always mandatory even without being mandatory in application form setting
Location:
prosolution-wp-client/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • prosolution-wp-client/trunk/README.txt

    r2959677 r2961462  
    6666
    6767== Changelog ==
     68
     69= 1.8.12 =
     70* FIXED Bug:
     71  - "ExpectedSalary" in application form always mandatory even without being mandatory in application form setting
    6872
    6973= 1.8.11 =
  • prosolution-wp-client/trunk/prosolwpclient.php

    r2959677 r2961462  
    1717     * Plugin URI:        https://prosolution.com/produkte-und-services/workexpert.html
    1818     * Description:       WordPress client for ProSolution
    19      * Version:           1.8.11
     19     * Version:           1.8.12
    2020     * Author:            ProSolution
    2121     * Author URI:        https://www.prosolution.com
     
    3939
    4040    defined('PROSOLWPCLIENT_PLUGIN_NAME') or define('PROSOLWPCLIENT_PLUGIN_NAME', 'prosolwpclient');
    41     defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8.11');
     41    defined('PROSOLWPCLIENT_PLUGIN_VERSION') or define('PROSOLWPCLIENT_PLUGIN_VERSION', '1.8.12');
    4242    defined('PROSOLWPCLIENT_BASE_NAME') or define('PROSOLWPCLIENT_BASE_NAME', plugin_basename(__FILE__));
    4343    defined('PROSOLWPCLIENT_ROOT_PATH') or define('PROSOLWPCLIENT_ROOT_PATH', plugin_dir_path(__FILE__));
  • prosolution-wp-client/trunk/public/js/prosolwpclientpublic.js

    r2959659 r2961462  
    26132613        var pswp_birthcountry_req = $('#birthcountry').prop('required');
    26142614        var pswp_availabilitydate_req = $('#availabilitydate').prop('required');
     2615        var pswp_expectedsalary_req = $('#expectedsalary').prop('required');
    26152616
    26162617
     
    26682669                    restrictpast: true,
    26692670                },
    2670                 expectedsalary: { digits: true }
     2671                expectedsalary: {
     2672                    required: pswp_expectedsalary_req,
     2673                    digits: true,
     2674                }
    26712675            },
    26722676            messages: {
     
    26842688                birthdate: { required: prosolObj.birthdate_empty, },
    26852689                'profession[]': { required: prosolObj.profession_empty, },
    2686                 expectedsalary: { digits: prosolObj.expectedsalary_digit }
     2690                expectedsalary: { digits: prosolObj.expectedsalary_digit, },
    26872691            },
    26882692            submitHandler: function(form) {
  • prosolution-wp-client/trunk/public/templates/singlefieldset/prosolwpclientjobapplicationpersonalinfo.php

    r2959659 r2961462  
    319319
    320320        <div class="col-sm-4 error-msg-show">
    321             <input type="text" name="expectedsalary" class="form-control"
    322                    id="expectedsalary" required data-rule-required="true" data-rule-maxlength="15"
     321            <input type="text" name="expectedsalary" class="form-control" <?php echo $field_opt['expectedsalary'][3] ?>
     322                   id="expectedsalary" data-rule-maxlength="15"
    323323                   value="">
    324324        </div>
Note: See TracChangeset for help on using the changeset viewer.