nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
518 stars 66 forks source link

Moving tasks between lists with Sync #280

Closed stayradiated closed 10 years ago

stayradiated commented 10 years ago

If a user moves a task from list to another, the server will only broadcast the task.update event to other connected sockets.

task.update({"id":"s7","listId":"inbox"})

The client needs to be able to update the lists for it self.

This means removing the task from the old list, and adding it to the new list. This can be done with list.moveTask(task, newList).