Reply To: Disable Ajax load

#7538
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi,

It’s already a customization workaround, unfortunately I cannot guarantee it’s going to work.

You can try one more thing, maybe lowering the timeout value down to 50, and combining with the previous solution.

First possibility:

<script>
var _scope = ASP.getScope();
_scope(function($) {
    $("p.asp-try a").click(function(){
        setTimeout(function(){
            $("div.promagnifier").click();
            var e = $.Event( "keyup", { which: 13 } );
            $("input.orig").trigger(e);
        }, 50);
    });
});
</script>

Second possibility:

<script>
var _scope = ASP.getScope();
_scope(function($) {
    $("p.asp-try a").click(function(){
        setTimeout(function(){
            $("div.promagnifier").click();
        }, 50);
    });
});
</script>

One of them might work correctly, I’m betting on the first one.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)