diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-08-08 14:30:04 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-08-08 14:30:04 +0400 |
commit | d7e49e0fe3f1ca47114066cf4febaaa507b2f040 (patch) | |
tree | f8d944ee7599e8342debd51be5f9f704f8007f50 /js | |
parent | 092683adff965969eeb8c88d6641f2e2dc880e58 (diff) | |
parent | 854be5099df1c5d8679e35ea208ae88df4d86d5e (diff) |
Merge pull request #34 from owncloud/improved_error_message
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 14cd767..01f086e 100644 --- a/js/editor.js +++ b/js/editor.js @@ -158,7 +158,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').attr('data-edited', 'true'); $('#editor').attr('data-saving', 'false'); @@ -383,7 +383,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); |