-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Prevent refresh when turning relays on/off on Relay Page #192
Comments
I conversation that might help? hideouspenguinboy- andrew |
Issue #70 initially addressed this. More recently, I made an attempt with Release 5.0.24 to implement this: Features
However, I quickly learned that due to the multiplicity of the forms, using wtforms, I was unable to resolve the issue and reverted the changes in Release 5.0.27 (latest): Bugfixes
|
Current behavior: When the "On" button is pressed for a relay on the Relay Page, the page refreshes and the relay turns on.
Desired behavior: When the "On" button is pressed for a relay on the Relay Page, the relay turns on without a page refresh.
I've attempted to do this multiple ways using Ajax/jQuery code I found, without success. I believe it's because Mycodo uses wtforms that it's more complicated than it seems.
The text was updated successfully, but these errors were encountered: