This commit is contained in:
2025-08-04 14:38:59 +02:00
parent 2cef73e0a1
commit 6355dc8f68
5 changed files with 6 additions and 12 deletions

View File

@@ -79,15 +79,6 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
return context;
}
/** @override */
submit(submitOptions) {
console.log("Submit");
context.system.tab = this.tab;
return super.submit(submitOptions);
}
/** @override */
_onRender(context, options) {
this.tab = context.system.tab;
@@ -101,6 +92,9 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
tabs.callback = function(){
console.log("Switching to "+tabs.active);
this.tab = tabs.active;
context.system.tab = tabs.active;
console.log(context.system.tab);
console.log(this.sheetContext.system.tab);
}
}