Added "carried" checkbox to container edit screen

Resolves #85
This commit is contained in:
Jacob
2017-09-04 15:50:57 +01:00
parent 06ac9f70c8
commit 5f35c71c9d
2 changed files with 7 additions and 0 deletions

View File

@@ -54,4 +54,8 @@ Template.containerEdit.events({
trimStrings: false,
});
},
"change #carriedToggle": function(event, instance){
var carried = !this.isCarried;
Containers.update(this._id, {$set: {isCarried: carried}});
}
});