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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.