diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-30 16:01:27 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-30 16:01:27 +0300 |
commit | c3bfe18e0018f49297a0236d8a26f37f95491cf9 (patch) | |
tree | 7b806326b7d5ba0a21466ecc9bfa04a3292d384f /js | |
parent | 41d7a584862fa5b7f9ec74bad3012ad954423df8 (diff) | |
parent | 597ed7c5f2109ebb06a804ee7dd61b5d2f730c76 (diff) |
Merge pull request #117 from owncloud/on-fail-close
Close the texteditor when we fail to load the file
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 1 |
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(); }); }, |