Skip to content

Commit

Permalink
Merge pull request #3444 from nextcloud/backport/3256/stable26
Browse files Browse the repository at this point in the history
[stable26] fix: Clear loading timeout when guest name is asked
  • Loading branch information
max-nextcloud committed Jan 31, 2024
2 parents 4bdc7cf + 353fa58 commit 437d4a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ addEventListener('DOMContentLoaded', () => {
if (deprecated) { return }

switch (msgId) {
case 'NC_ShowNamePicker':
clearTimeout(odfViewer.loadingTimeout)
break
case 'loading':
odfViewer.onReceiveLoading()
break
Expand Down

0 comments on commit 437d4a1

Please sign in to comment.