SortableJS / meteor-sortablejs

Reactive reorderable lists.
http://rubaxa-sortable.meteor.com
20 stars 10 forks source link

Meteor: option not to update the collection #3

Open welelay opened 8 years ago

welelay commented 8 years ago

this is a repost of https://github.com/RubaXa/Sortable/issues/530

My collections are never allowed to be modified on client. I perform the reordering myself in the onSort hook so the UI works.

However I get errors because Sortable tries to update ordering:

Error invoking Method 'rubaxa:sortable/collection-update': Collection <pages> is not Sortable. Please add it to Sortable.collections in server code. [403] meteor.js:888:11
update failed: Access denied undefined

Would it be possible to add an option to prevent updating the collection? Thanks,

sachinbhatnagar commented 8 years ago

Ditto. I have the same issue.