diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/OC/dialogs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 9f2a24a4deb..e7e5ca4d310 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -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 + } } }) |