catch errors when closing file conflict dialog
Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
This commit is contained in:
parent
6f31880a63
commit
eb59fd2baa
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