mostr / angular-ui-multi-sortable

Angular directive for using jQuery multi-sortable
MIT License
62 stars 13 forks source link

Multiple calls on itemsChanged when using update: 'itemsChanged', and changing between lists #9

Open PatrikSoder opened 11 years ago

PatrikSoder commented 11 years ago

I noticed since i want the model to be backed by a MVC API - application in the back.

However changing to a call on stop: 'itemsChanged' instead helped me for now ( i have to test further)

My version :

angular.module('ui').value('uiSortableConfig', { sortable: { connectWith: '.connectedSortable', //update: 'itemsChanged', stop: 'itemsChanged', } });