-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added async/await to fix firefox issue + other things #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the comments I left thus far. I'll take another look when those changes are made. Thanks!
Renamed postServer to postToServer; Prevent notes from being empty; Removed window reload upon adding note/call; Added form reset on adding a note/call; Added refresh of notes on adding a call; Added await to getNotes in deleteCall(); Added </div> that was missing in the admin.html Currently the reset of the addCall causes the validator to run (this occurs even with reloading the page). This will need to be looked into for FireFox.
Code Climate has analyzed commit 7f6cf1e and detected 0 issues on this pull request. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Thanks, @zapdos26!
Fixes #15 |
Fixes Firefox issue of not adding calls/notes.
Prevent notes from being empty;
Removed window reload upon adding note/call;
Added form reset on adding a note/call;
Added refresh of notes on adding a call;
Added await to getNotes in deleteCall();
Added
</div>
that was missing in the admin.htmlCurrently the reset of the addCall causes the validator to run (this occurs even with reloading the page). This will need to be looked into for Firefox.