You need to refresh the page first. It happens on some browsers when using privatte/incognito.
You need to refresh the page first. It happens on some browsers when using privatte/incognito.
it happens always as a matter of fact. You probably need to tweak JS, if I click again you are firing same Save event on that button and returning 200 with the JSON error Already saved
. Not a big deal but you should swap the button or assign new click event after the first save call. And you should return error codes, (probably 409 in this case), but the web app should be built in a way that ideally there are no situations where you hit errors on the backend
it happens always as a matter of fact. You probably need to tweak JS, if I click again you are firing same Save event on that button and returning 200 with the JSON error `Already saved`. Not a big deal but you should swap the button or assign new click event after the first save call. And you should return error codes, (probably 409 in this case), but the web app should be built in a way that ideally there are no situations where you hit errors on the backend
less is more.
fixed with a document.location.reload()
less is more.
fixed with a document.location.reload()
yep!
yep!
(post is archived)