Closed stayradiated closed 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
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).
list.moveTask(task, newList)
If a user moves a task from list to another, the server will only broadcast the
task.update
event to other connected sockets.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)
.