• Resolved lspoe2

    (@lspoe2)


    Hi,

    After updating to the latest version, the spinner on ajax submit doesn’t seem to show anymore.

    I did try deactivating some performance plugins and it didn’t fix the issue, so I’m thinking it is not an issue on my side.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lspoe2

    (@lspoe2)

    Hi,

    I disabled all my plugins and also changed themes, however the spinner still doesn’t show on submit.

    Any ideas what may be going on here?

    Thanks

    Plugin Author Gemini Labs

    (@geminilabs)

    Yes, a fix is coming.

    My decision.
    Place the preloader in the form or whatever method you have.
    And just by pressing the button for submitting the form. We need to get our preloader to activate.

    My form

    <div class="glsr-form-wrap">
    	<form class="{{ class }}" method="post" enctype="multipart/form-data">
    		{{ fields }}
    		{{ response }}
    		{{ submit_button }}
    		<div class="preloader"></div>
    	</form>
    </div>

    My Query code

    // REVIEWS PLUGIN
        $(".glsr-review-form button").on("click", function () {
            $(this).closest("form").addClass("active-sent");
        });

    My style

    .active-sent .preloader{
    display: block
    }

    add CODE in functions.php

    add_filter('site-reviews/enqueue/public/inline-script/after', function ($javascript) {
    	return $javascript."
        GLSR.Event.on('site-reviews/form/handle', function (response, formEl) {        
            formEl.classList.remove('active-sent');
        });";
    });
    Plugin Author Gemini Labs

    (@geminilabs)

    The button loader (spinner) broke in the last update due to the new “load more” pagaination feature. It’s already been fixed and will be available in the next update.

    • This reply was modified 4 years, 5 months ago by Gemini Labs.
    Plugin Author Gemini Labs

    (@geminilabs)

    Fixed in v5.19.0

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Ajax submit spinner not working’ is closed to new replies.