Added ability to add/edit buffs
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<template name="customBuffView">
|
||||
<td>{{buff.name}}</td>
|
||||
<td>
|
||||
<paper-button class="apply-buff-button">Apply</paper-button>
|
||||
</td>
|
||||
</template>
|
||||
@@ -0,0 +1,9 @@
|
||||
Template.customBuffView.events({
|
||||
"click .apply-buff-button": function(){
|
||||
pushDialogStack({
|
||||
template: "applyBuffDialog",
|
||||
data: {buff: this.buff},
|
||||
element: event.currentTarget,
|
||||
});
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user