Disabled edit buttons for read-only viewers

This commit is contained in:
Stefan Zermatten
2015-07-23 15:07:39 +02:00
parent ba7ccfdfa0
commit 52198d0249
13 changed files with 43 additions and 34 deletions

View File

@@ -5,7 +5,7 @@ Schemas.TemporaryHitPoints = new SimpleSchema({
name: {type: String, optional: true},
maximum: {type: Number, defaultValue: 0},
used: {type: Number, defaultValue: 0},
deleteOnZero:{type: Boolean, defaultValue: true},
deleteOnZero:{type: Boolean, defaultValue: false},
dateAdded: {
type: Date,
autoValue: function() {