Share dialog style improvement, can delete shares

This commit is contained in:
Stefan Zermatten
2015-04-29 08:38:47 +02:00
parent 79e0f917df
commit 9e7e027fe9
2 changed files with 23 additions and 7 deletions

View File

@@ -53,4 +53,9 @@ Template.shareDialog.events({
});
}
},
"tap .deleteShare": function(event, instance) {
Characters.update(instance.data._id, {
$pull: {writers: this._id, readers: this._id}
});
},
});