Generalised some dialogs

This commit is contained in:
Thaum
2015-02-27 06:14:34 +00:00
parent 56f8e95d81
commit 040d5a514b
50 changed files with 532 additions and 954 deletions

View File

@@ -0,0 +1,17 @@
Template.effectsEditList.helpers({
effects: function(){
var cursor = Effects.find({sourceId: this.sourceId});
return cursor;
}
});
Template.effectsEditList.events({
"tap #addEffectButton": function(){
Effects.insert({
charId: this.charId,
sourceId: this.sourceId,
operation: "add",
type: this.type
});
},
});