• Hi guys,

    I have a huge Theme Customizer with more than 3000 controls and I’m using jQuery UI to group and style them. The thing is that WordPress destroys my Customizer UI when it sorts controls within sections and I need to disable (unbind) this.

    I need to unbind this part:

    $( [ api.panel, api.section, api.control ] ).each( function ( i, values ) {
    	var debouncedReflowPaneContents = _.debounce( api.reflowPaneContents, api.settings.timeouts.reflowPaneContents );
    	values.bind( 'add', debouncedReflowPaneContents );
    	values.bind( 'change', debouncedReflowPaneContents );
    	values.bind( 'remove', debouncedReflowPaneContents );
    } );

    I need to override this code from my custom javaSript file which is responsible for Customizer UI. I know that if I increase “api.settings.timeouts.reflowPaneContents” time or if I unbind “values.bind( ‘add’, debouncedReflowPaneContents );” this will help but I don’t know how to do this.

    1500+ Themeforest clients are waiting for this fix, this is URGENT. Please help!

    Regards, Duke

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WP Royal

    (@wproyal)

    Please move this to “WP-Advanced” category.

    [Moderator note: The Advanced forum is not for receiving support, so I’ve moved this to the Hacks forum]

    • This reply was modified 9 years, 3 months ago by Andrew Nevins.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    As you have a large number of paid clients please reconsider the way you are receiving support. ww.wp.xz.cn are volunteer-driven forums and it is not realistic to ask for urgent support. This expectation is more realistic to paid support. I would encourage you seek support from WP Jobs than here to avoid disappointment: http://jobs.wordpress.net/

    • This reply was modified 9 years, 3 months ago by Andrew Nevins.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Disable control sorting within sections’ is closed to new replies.