WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Job Manager] FIXED BUG – Application Page

[Plugin: Job Manager] FIXED BUG – Application Page

  • dragoonis
    Member

    @dragoonis

    I have fixed a bug in the application page whereby if you have a mandatory field, it runs the form submit through jobman_apply_filter and it is looking in the wrong DOM element to make sure it has content in it.

    /js/display.js is the file
    line #5 is the line.

    Change
    field = jQuery("[name=jobman-field-" + jobman_mandatory_ids[ii] + "]");
    to
    field = jQuery("[name=jobman-field-display-" + jobman_mandatory_ids[ii] + "]");

Viewing 1 replies (of 1 total)
  • Plugin Author Gary Pendergast
    Participant

    @pento

    This is only the case for Geolocation fields when one of the following occurs:

    – The user is either not using a HTML5 browser, doesn’t have Google Gears installed, or refused the “show your location” warning.
    – The user edits the Geolocation display field.

    I’ll write a fix for this and release a new version, though you should be aware that just making that change will break mandatory field checking for all other field types.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Job Manager] FIXED BUG – Application Page’ is closed to new replies.