Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Currency total doesn't get updated on change when sheet it popped out #793

Open
denis-kralj opened this issue Oct 17, 2023 · 0 comments
Labels
bug Something isn't working transfered to other repo

Comments

@denis-kralj
Copy link

Module Version: v0.9.18

Description
When the sheet is popped out in a separate window, any changes to the money totals doesn't get persisted in the sheet. Having the sheet within the main window doesn't present the same issue. The console output pasted below only shows up on the first update attempt, to get it again I need to refresh the browser tab and re pop out the sheet.

Console error reported

Uncaught (in promise) TypeError: field.dataset is undefined
[Detected 4 packages: system:dnd5e, tidy5e-sheet, lib-wrapper, plutonium]
    #getFieldValue foundry.js:67940
    #processFormFields foundry.js:67871
    process foundry.js:67803
    FormDataExtended foundry.js:67792
    _getSubmitData foundry.js:6593
    _getSubmitData foundry.js:71025
    _onSubmit foundry.js:6558
    _onChangeInput foundry.js:6618
    jQuery 8
    activateListeners foundry.js:6511
    activateListeners base-sheet.mjs:680
    activateListeners character-sheet.mjs:203
    activateListeners tidy5e-sheet.js:179
    _render foundry.js:5784
    _render foundry.js:6474
    call_wrapped libWrapper-wrapper.js:507
    _lw_ActorSheetOrItemSheet_prototype__render Bundle.js:118085
    call_wrapper libWrapper-wrapper.js:616
    _render#0 libWrapper-wrapper.js:189
    render foundry.js:5711
    render foundry.js:7053
    _onClickLeft2 foundry.js:56190
    callback foundry.js:31699
    #handleClickLeft2 foundry.js:31904
    #handleMouseDown foundry.js:31871
    notifyListeners earcut.js:128
    notifyTarget earcut.js:128
    propagate earcut.js:128
    dispatchEvent earcut.js:128
    mapPointerDown earcut.js:128
    mapEvent earcut.js:128
    onPointerDown earcut.js:128
foundry.js:67940:22

Browser:
Firefox

Foundry Version:
11.313
Game System:
dnd5e 2.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working transfered to other repo
Projects
None yet
Development

No branches or pull requests

2 participants