GH-48 Character Notes save fix
- Closes #48 - Fixes Character Notes save when adding a new EmbedItem
This commit is contained in:
parent
c6222c0d49
commit
c5540516da
|
@ -0,0 +1,3 @@
|
||||||
|
v0.5.2
|
||||||
|
|
||||||
|
- Textareas are now saved when adding embedded entity.
|
|
@ -11,6 +11,11 @@ export class BladesSheet extends ActorSheet {
|
||||||
activateListeners(html) {
|
activateListeners(html) {
|
||||||
super.activateListeners(html);
|
super.activateListeners(html);
|
||||||
html.find(".item-add-popup").click(this._onItemAddClick.bind(this));
|
html.find(".item-add-popup").click(this._onItemAddClick.bind(this));
|
||||||
|
|
||||||
|
// This is a workaround until is being fixed in FoundryVTT.
|
||||||
|
if ( this.options.submitOnChange ) {
|
||||||
|
html.on("change", "textarea", this._onChangeInput.bind(this)); // Use delegated listener on the form
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "blades-in-the-dark",
|
"name": "blades-in-the-dark",
|
||||||
"title": "Blades in the Dark",
|
"title": "Blades in the Dark",
|
||||||
"description": "Blades in the dark game system.",
|
"description": "Blades in the dark game system.",
|
||||||
"version": "0.5.1",
|
"version": "0.5.2",
|
||||||
"minimumCoreVersion": "0.5.3",
|
"minimumCoreVersion": "0.5.3",
|
||||||
"compatibleCoreVersion": "0.5.7",
|
"compatibleCoreVersion": "0.5.7",
|
||||||
"templateVersion": 1,
|
"templateVersion": 1,
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
"styles": ["styles/blades.css"],
|
"styles": ["styles/blades.css"],
|
||||||
"languages": ["en"],
|
"languages": ["en"],
|
||||||
"url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/",
|
"url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/",
|
||||||
"manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/master/system.json",
|
"manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/0.5.2/system.json",
|
||||||
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/0.5.1.zip",
|
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/0.5.2.zip",
|
||||||
"packs": [
|
"packs": [
|
||||||
{
|
{
|
||||||
"name": "class",
|
"name": "class",
|
||||||
|
|
Loading…
Reference in New Issue