Support

Account

Home Forums General Issues Can No Longer Drag to Change Field Order Reply To: Can No Longer Drag to Change Field Order

  • I have the exact same issue. For me, there was no issue with the fields variable, but rather with the existence of the “sortable” method on the jQuery object at the point the mouseover is first called. I used the following workaround to overcome it:

    
        if('sortable' in $.fn) // The workaround
        {
          fields.addClass('sortable').sortable({
            update: function(event, ui){
              update_order_numbers();
            },
            handle: 'td.field_order'
          });
        }
    

    I think it’s a race condition with the jQuery UI sortable script