Support

Account

Home Forums ACF PRO How to disable drag&drop ordering function on a specific Repeaters field? Reply To: How to disable drag&drop ordering function on a specific Repeaters field?

  • Has someone else experienced their code not working anymore ??

    This is the part which is not working anymore (for me):

    $.extend(acf.fields.repeater, {
        _mouseenter: function (e) {
            if ($(this.$tbody.closest('.acf-field-repeater')).hasClass('disable-sorting')) {
                console.log('HIT');
                return false;
            }
        }
    });