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

Syncronize js when saving important data #1863

Merged
merged 2 commits into from
Aug 26, 2019
Merged

Syncronize js when saving important data #1863

merged 2 commits into from
Aug 26, 2019

Conversation

foxman69
Copy link
Contributor

When updating important data such as wifi settings, it requires reconnect/reboot/reload of the device.
Sometime because the WS is async the window.confirm shows up before the data is saved.
This PR just make sure the data is saved before performing the reconnect/reboot/reload action.

I tested it on Sonoff 4CH Pro R2

@mcspr mcspr merged commit d66b8a9 into xoseperez:dev Aug 26, 2019
@foxman69 foxman69 deleted the dev3 branch December 4, 2019 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants