PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Bug: gformInitSpinner declared multiple times in same scope

  1. When using multiple ajax enabled forms the function gformInitSpinner is declared multiple times in the same scope.

    It's easy to fix.

    Instead of:

    function gformInitSpinner(){
        //etc
    }
    jQuery(document).ready(function($){
        gformInitSpinner();
    }

    do:

    (function($) {
        function gformInitSpinner(){
            //etc
        }
        jQuery(document).ready(function($){
            gformInitSpinner();
        }
    })(jQuery)
    Posted 13 years ago on Friday October 7, 2011 | Permalink
  2. Full code here: http://www.pastie.org/2655414

    Posted 13 years ago on Friday October 7, 2011 | Permalink
  3. Thanks! I'll have one of our developers take a look.

    Posted 13 years ago on Friday October 7, 2011 | Permalink
  4. Thanks @bekent. It makes sense. We will be looking at getting this corrected for 1.6.

    Posted 13 years ago on Monday October 10, 2011 | Permalink

This topic has been resolved and has been closed to new replies.