-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fake iframe element to check reload result and replace on success. (
#8772) Avoid reload() method whose usage may lead to showing a blank page because server is not yet restarted. Instead use a fake iframe element inside gizmo which refers to the same URL. Its window may be reloaded safely and the result can be checked before applying it to the main document. If reload was successful (page is initialized with Vaadin JS) then replace the document content with the content of iframe. Fixes #8728
- Loading branch information
Showing
1 changed file
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters