Added ability to add/remove basic conditions
Conditions are those listed in ./lib/methods/conditions.js
This commit is contained in:
17
rpg-docs/client/views/character/buffs/buffView/buffView.js
Normal file
17
rpg-docs/client/views/character/buffs/buffView/buffView.js
Normal file
@@ -0,0 +1,17 @@
|
||||
Template.buffView.helpers({
|
||||
name: function() {
|
||||
return this.name
|
||||
}
|
||||
});
|
||||
|
||||
Template.buffView.events({
|
||||
"click .buffView": function(event){
|
||||
var buffId = this._id;
|
||||
var charId = Template.parentData()._id;
|
||||
pushDialogStack({
|
||||
template: "buffDialog",
|
||||
data: {buffId: buffId, charId: charId},
|
||||
element: event.currentTarget,
|
||||
});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user