diff --git a/rpg-docs/client/views/character/proficiencies/proficiencyListItem/proficiencyListItem.js b/rpg-docs/client/views/character/proficiencies/proficiencyListItem/proficiencyListItem.js index 55744233..6b667474 100644 --- a/rpg-docs/client/views/character/proficiencies/proficiencyListItem/proficiencyListItem.js +++ b/rpg-docs/client/views/character/proficiencies/proficiencyListItem/proficiencyListItem.js @@ -15,6 +15,22 @@ Template.proficiencyListItem.helpers({ Template.proficiencyListItem.events({ "click .proficiency": function(event, instance){ + if (this.parent.collection == "Characters") { + if (this.parent.group == "background") { + pushDialogStack({ + template: "backgroundDialog", + data: { + "charId": this.charId, + "field":"background", + "title":"Background", + "color":"j", + }, + element: event.currentTarget, + }) + return; + } + } + openParentDialog({ parent: this.parent, charId: this.charId,