fixes close on submit
parent
b59be2e977
commit
f4b4233dcb
|
|
@ -166,10 +166,12 @@ export class CombatActionDialog extends HandlebarsApplicationMixin(ApplicationV2
|
|||
event.preventDefault()
|
||||
|
||||
CombatActionDialog._instance.#processOnSubmitForm(event, form, formData)
|
||||
this.close()
|
||||
}
|
||||
|
||||
static async #onAttack(event, target) {
|
||||
CombatActionDialog._instance.#processOnSubmitForm(event, this.element, new FormData(this.element))
|
||||
this.close()
|
||||
}
|
||||
|
||||
_configureRenderOptions(options) {
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ export class DefenseActionDialog extends HandlebarsApplicationMixin(ApplicationV
|
|||
targetNumber: this._targetNumber,
|
||||
modDescription: maneuver?.modDescription?.replace("{}", "" + this._mod) ?? ""
|
||||
})
|
||||
this.close()
|
||||
}
|
||||
|
||||
static async #onDefend(event, target) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue