-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Music app page loading occasionally failing on Chrome
It happens sometimes (but quite rarely at least on my tests) that all the needed parts of the Nextcloud server core are not yet loaded at the time when our controllers are being initialized. Previously such cases caused the page loading to fail but now we are prepared: If the needed parts of the core are not available immediately, then we postpone the related initialization steps and retry after 500 ms. Attempts are continued until when they succeed. In the GitHub issue, the problem was reported to happen with the reference OC.MimeType, but fixing this case reveled that there was a similar case related to the HTML element #app-navigation-toggle. refs #1137
- Loading branch information
Showing
4 changed files
with
51 additions
and
21 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
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
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
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