Forum Index > Bug Reporting > Fest Sculpt/Cata etc... Refreshes
Page 1
Author
Thread Post
Voidborn
Level 75
Champion
Joined: 3/5/2022
Threads: 31
Posts: 306
Posted: 8/10/2024 at 11:39 PM
Post #1
I've noticed this each fest that when you use an item on a sculpt/pot/brew/ice, when you're done, you can't refresh without there being a popup saying the item doesn't need to be used. It's like the page thinks you're trying to use the item again, but I just wanna refresh to see if anything has changed. I have to leave and then go back in to be able to refresh again.
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,242
Posts: 15,406
Posted: 8/11/2024 at 6:22 AM
Post #2
This is somewhat normal browser behavior. When you use an item, you're "submitting a form" in HTML. Default function is that if the user then refreshes the page, it will "resubmit the form". So in this case, it will try using the item again just like the first time you submitted the request.
I usually try and bypass this wherever I can by adding in a redirect in the code after everything's processed to "clear" everything out. Some places this is easier to accomplish than others. For example, if there's supposed to be a return pop up that displays something after you used something, it's a lot harder to code in a redirect there - which is the case for what you're talking about.
If I have some time, I can try and take a look. For the meantime, you can just hit the house looking icon at the top to reload your own page.
Voidborn
Level 75
Champion
Joined: 3/5/2022
Threads: 31
Posts: 306
Posted: 8/11/2024 at 8:26 AM
Post #3
Thank you for explaining! I have no idea about coding lol so I get it if it can't be done. But I did check using the house button by the searchbar on the page and it also resubmits the form after I used an item so the error popup occurs. It's honestly not a big deal if it's just normal browser stuff.
Confirm Action
Are you sure you wish to delete this post?
Confirm Action
Are you sure you wish to restore this post?
Confirm Action
Are you sure you wish to report this post?
Go to Top
This Page loaded in 0.007 seconds.
Terms of Service | Privacy Policy | Contact Us | Credits | Job Opportunities