Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/editor.js')
-rw-r--r--js/editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/editor.js b/js/editor.js
index 01ccd5e..ef2d107 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -299,6 +299,7 @@ var Files_Texteditor = {
function(message){
// Oh dear
OC.dialogs.alert(message, t('files_texteditor', 'An error occurred!'));
+ _self.closeEditor();
});
},