diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-08 13:23:16 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-08-08 13:29:09 +0400 |
commit | 854be5099df1c5d8679e35ea208ae88df4d86d5e (patch) | |
tree | cb6c960e0938c3b28cc3b33bd916cdba15a22677 /js | |
parent | ce4e827a2b0f40409a56bfb424646a538de31cd6 (diff) |
improved error messages
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor.js b/js/editor.js index 5095c91..d0a78c4 100644 --- a/js/editor.js +++ b/js/editor.js @@ -153,7 +153,7 @@ function doFileSave() { if (jsondata.status != 'success') { // Save failed $('#editor_save').text(t('files_texteditor', 'Save')); - $('#notification').html(t('files_texteditor', 'Failed to save file')); + $('#notification').text(jsondata.data.message); $('#notification').fadeIn(); $('#editor_save').live('click', doFileSave); } else { @@ -370,7 +370,7 @@ $(document).ready(function () { FileActions.setDefault('application/x-tex', 'Edit'); } - + //legacy search result customization OC.search.customResults.Text = function (row, item) { var text = item.link.substr(item.link.indexOf('download') + 8); |