'Your changes will not be saved' alert window when trying to reload a web page
See original GitHub issueDescribe the bug
‘Your changes will not be saved’ alert window when trying to reload web page. The cause of this issue are https://github.com/eclipse/che-theia/pull/634 changes
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
- Start workspace from any devfile.
- Try to reload web page.
Expected behavior
The page was reloaded
Runtime
- kubernetes (include output of
kubectl version
) - Openshift (include output of
oc version
) - minikube (include output of
minikube version
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - docker-desktop + K8S (include output of
docker version
andkubectl version
) - other: (please specify)
Screenshots
Installation method
- chectl
- che-operator
- minishift-addon
- I don’t know
Environment
- my computer
- Windows
- Linux
- macOS
- Cloud
- Amazon
- Azure
- GCE
- other (please specify)
- other: please specify
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
How to reload a page without "Changes you made may not be ...
The most common solutions, such as location.reload() did not work as the page shows the prompt "Changes you made may not be saved."....
Read more >Solved: Disable alert "Changes you made may not be saved."...
Yeah I have written on change client script. I have tried to clear the value before redirection but above pop up appears first...
Read more >Need the custom message to display instead of "Changes you ...
It works fine but it always throw the different message as “Changes you made may not have been saved.”, instead I need my...
Read more >Prevent leaving the page using plain JavaScript - Code Maven
We just need to assign a function to the window.onbeforeunload attribute and that function needs to return something. That will tell the browser ......
Read more >Fix site display issues with Compatibility View in Internet ...
Open Internet Explorer, select the Tools button , and then select Compatibility View settings. Under Add this website, enter the URL of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vzhukovskii This failure is happenig in the legacy java-selenium suite. We still have some tests there… They run as PR check on eclipse/che repo and right now, they are kind of “hidden” - We have a task in the current sprint to improve the reporting from this job.
IMHO this behavior change is “UX downgrade”. In my opinion, the confirmation should appear only when data loss is at place (aka. some editor is not saved).
Anyway… Until this gets sorted, @SkorikSergey we can put back the previous behavior by setting this in user preferences before actually running the test (the same way, that @Ohrimenko1988 is doing this for example for setting the terminal type to
dom
)