WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Super Heatmap] Checkbox doesnt (un)check

[Plugin: WP Super Heatmap] Checkbox doesnt (un)check

Viewing 5 replies - 1 through 5 (of 5 total)
  • I was wondering why my check boxes and radio buttons stopped working. When I disabled this plugin they started to work again.

    Ditto. All forms on the site – even basic WP Search – stopped functioning with the WP Super Heatmap plugin enabled – regardless of whether it was recording or not. Disable it and all start working again. And it didn’t make a difference whether it was “recording” or not.

    Hi Guys, ok the problem is in file wp_super_heatmap_js.js in “js” folder.

    change : event.preventDefault(); on line 7

    into
    $(“a”).click(function(ev) {
    ev.preventDefault();
    });

    event.preventDefault(); prevents click actions on ALL the element. by adding this function you can specify “a” element (hyperlink) to stop from its default action which allows for recording of the click on links; this action is later re-assigned… so just add this function and you should be ook.

    i have also found another issue with # sign which make the page to go to top whenever my “anythingSlider” slides numbers are clicked on.

    Tip : if you have a fast server reduce 1000 ‘s at the bottom of the page which delays the clicks on the links allowing for the recording of the click

    Im not responsible for any problems caused. but i can tell you i use the plugin on pretty large sites and it seems ok atm =)

    Temp solution for # problems (DOESNT RECORD # CLICKS!!!) :
    Replace this :
    window.setTimeout(function(){document.location.href=url;}, 1000); // timeout and waiting until effect is complete

    With :

    if (jQuery(event.target).closest(‘a’).attr(‘href’) != ‘#’) {
    window.setTimeout(function(){document.location.href=url;}, 1000); // timeout and waiting until effect is complete
    }

    This if statement stop the code from running where ever # hash is found in href of the link “a” element. When using this clicks do not seem to get registered on the clicked #anchor… although a message is sent to the server… Im really tired atm. ill work on this later. I think the developer of the plugin is on holiday… =P

    Same issue here, has anyone a fix for this issue ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Super Heatmap] Checkbox doesnt (un)check’ is closed to new replies.