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
e3e6bc5972
commit
85ae8d5c9f
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
|
||||
$(this).ocdialog('destroy').remove()
|
||||
try {
|
||||
$(this).ocdialog('destroy').remove()
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue