This commit is contained in:
LubuWest 2017-11-24 22:12:03 +01:00
commit 13394ac62e
12 changed files with 120 additions and 14 deletions

View file

@ -1,5 +1,5 @@
WorkerScript.onMessage = function(msg) {
if(msg.deleteId)
if(msg.deleteId!==undefined)
{msg.model.remove(msg.deleteId);
msg.model.sync()
}