darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.32k stars 704 forks source link

Changing order of TabularInline items not working #744

Open tyctor opened 4 years ago

tyctor commented 4 years ago

DjangoSuit v2 Django 2.2.6

after changing order of TabularInline items, sended values of input sort_order remains same so new order is not saved is here somebody with same issue?

tyctor commented 4 years ago

ok i found what it is not working but i am not sure why... problem is in suit.sortables.js on line var selector = $(this).selector; where variable selector is undefined, so it causes that new order is not submited @darklow can you confirm this for me and advise what could be problem?

tyctor commented 4 years ago

now i can see important difference between demo and my app i am using Django 2.2, which contains jQuery 3.3 so probably that is source of all my problems $(this).selector is not supported from jQuery 3.0