-
Notifications
You must be signed in to change notification settings - Fork 635
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 fixes in latest release #2096
Conversation
This does not have any effect? Lines 1814 to 1815 in 62ad7da
espurna/code/espurna/scheduler.ino Lines 35 to 36 in 62ad7da
Nice find about the func though! Function definition in expression is somehow passable issue for the js runtime :/ While iterating on that pr it somehow passed both local and codacy's eslint. IDs seem to only be used for indexing and label ids? I don't fully understand the tabindex thing across the webui, because MDN points out that it should be extremely rare thing to manually change it all over the place. My guess is that it has something to do with the menu, but I wonder if that can be more generic (+ ported out for Vue PR, since there are hardcoded values too) |
I have checked about the I have added another fix in my last commit about another misuse of function as a variable, JS is just a very forgiving language when it comes to arithmetic operations on variables this is way it didn't pop as an error. About the IDs as you mentioned its only for labeling, but still in all the other places in the code you start from 0 so it think its better keeping the convention. The |
Hm. So if the whole scheduler ws packet never gets sent for whatever reason, only then we don't have I'd rather defaults stay in one place to more easily track them e.g. like html placeholder for wifi dns setting was 8.8.8.8 for some reason, while this was not the default value in code.
|
Unfortunately i haven't checked the log while it happen and i cannot reproduce it again:( |
Fixed a few bugs:
numSchedules
you mistakenly used the defenition of the function instead of the value (Line 1089 in the js)schedules
variable even thou it already starts from 0...