Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DOMContentLoaded and fix sharebymail loading issue #21921

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Jul 20, 2020

After #20949

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the fix/use-DOMContentLoaded branch from 6a6c8bd to 6fcd075 Compare July 20, 2020 10:42
@skjnldsv skjnldsv self-assigned this Jul 20, 2020
@skjnldsv skjnldsv added this to the Nextcloud 20 milestone Jul 20, 2020
@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the fix/use-DOMContentLoaded branch from 6fcd075 to 52773e9 Compare July 20, 2020 10:43
@skjnldsv skjnldsv force-pushed the fix/use-DOMContentLoaded branch from 52773e9 to 6fcd075 Compare July 20, 2020 10:44
Comment on lines +181 to +185
const capabilities = OC.getCapabilities()
// eslint-disable-next-line camelcase
return capabilities?.files_sharing?.sharebymail !== undefined
// eslint-disable-next-line camelcase
&& capabilities?.files_sharing?.public?.enabled === true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For you @rullzer

@skjnldsv skjnldsv mentioned this pull request Jul 20, 2020
@skjnldsv
Copy link
Member Author

Failure unrelated :)
app-comments.feature

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to do the trick with the random loading issues.

@skjnldsv skjnldsv merged commit 84ca586 into master Jul 20, 2020
@skjnldsv skjnldsv deleted the fix/use-DOMContentLoaded branch July 20, 2020 12:07
@MorrisJobke
Copy link
Member

Oh! This makes the integration tests more reliable! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants