Merge pull request #23774 from nextcloud/backport/23762/stable20
[stable20] catch errors when closing file conflict dialog
This commit is contained in:
commit
fcd7bcfe2f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -930,7 +930,11 @@ const Dialogs = {
|
|||
closeButton: null,
|
||||
close: function() {
|
||||
self._fileexistsshown = false
|
||||
try {
|
||||
$(this).ocdialog('destroy').remove()
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue