Started implementing soft delete attacks, added delete toast
This commit is contained in:
@@ -3,7 +3,8 @@ var damageTypes = ["bludgeoning", "piercing", "slashing", "acid", "cold", "fire"
|
||||
|
||||
Template.attackEdit.events({
|
||||
"tap #deleteAttack": function(event, instance){
|
||||
Attacks.remove(this._id);
|
||||
Attacks.softRemove(this._id);
|
||||
GlobalUI.deletedToast(this._id, "Attacks", "Attack");
|
||||
},
|
||||
"change #attackBonusInput": function(event){
|
||||
var value = event.currentTarget.value;
|
||||
|
||||
Reference in New Issue
Block a user