• Resolved adam.hurlebaus

    (@adamhurlebaus)


    Line 68 of your plugins’ main.js is causing an error when I try and reset clicked filters. This is what I get when I look in Chrome’s inspector:

    Uncaught TypeError: Cannot read property ‘val’ of undefined

    Right now, the reset button for filters is not working when your plugin is activated. I’ve switched themes to a default theme, installed a clean version of your plugin, and have deactivated all other plugins, but I still get the same issue.

    Is there something I can do to fix this?

    https://www.ads-software.com/plugins/wp-job-manager-locations/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you link me to your site Adam?

    Thread Starter adam.hurlebaus

    (@adamhurlebaus)

    I actually just found the exact same thing. It’s happening on your jobify demo sites as well (the blue one has regions enabled – reset doesn’t work, the green one doesn’t have regions enabled & the reset works fine).

    Thread Starter adam.hurlebaus

    (@adamhurlebaus)

    Any updates on this?

    Thread Starter adam.hurlebaus

    (@adamhurlebaus)

    I am by no means a developer but I have really been needing this fix so I started toying around with the files. While doing so I realized that if you change
    $( '.job_listings' ).on( 'reset', function() {
    to
    $( '.job_filters' ).on( 'reset', function() {
    in your main.js file it will now properly reset all filters other than the selected region when you click the reset button on the job listing page. Maybe someone with some skills will be able to fix it so that the region also resets, but this is a quick hack until the plugin is updated to account for correct filter resets.

    Thanks!

    Thread Starter adam.hurlebaus

    (@adamhurlebaus)

    Any news on a true fix for this?

    Thread Starter adam.hurlebaus

    (@adamhurlebaus)

    Fixed in version 1.9.0

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘"Reset" button not working when this plugin is active’ is closed to new replies.