• programmin

    (@programmin)


    I’m seeing high cpu use and even unusable pages with some pages with iframed iframes and the Nextgen gallery frame_event_publisher.js. This seems to keep going and going in this part of the code, quite wasteful:

    setup_ajax_handlers: function() {
        if (!this.ajax_handlers_setup) {
            var publisher = this;
            jQuery(document).ajaxComplete(function(e, xhr, settings) {
                setTimeout(function() {
                    publisher.ajax_handler();
                }, 0);
            });
        }
    },

You must be logged in to reply to this topic.