diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-12 15:59:26 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-13 11:59:14 +0200 |
commit | 7e8784c075b5e56abf44d0eb0c2e357be8342ca5 (patch) | |
tree | 717e2ed3adc09c1adce20eb46069f32b12c3e1cc | |
parent | b91db840502ee3c398c63c70b8a0bd1d789c4338 (diff) | |
download | nextcloud-server-7e8784c075b5e56abf44d0eb0c2e357be8342ca5.tar.gz nextcloud-server-7e8784c075b5e56abf44d0eb0c2e357be8342ca5.zip |
access admin settings result message correctly
-rw-r--r-- | apps/files_sharing/js/settings-admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/settings-admin.js b/apps/files_sharing/js/settings-admin.js index fa9b236ea98..e22aa4b0c36 100644 --- a/apps/files_sharing/js/settings-admin.js +++ b/apps/files_sharing/js/settings-admin.js @@ -7,7 +7,7 @@ $(document).ready(function() { ).done(function( result ) { $( '#mailTemplateSettings textarea' ).val(result); }).fail(function( result ) { - OC.dialogs.alert(result.message, t('files_sharing', 'Could not load template')); + OC.dialogs.alert(result.responseJSON.message, t('files_sharing', 'Could not load template')); }); }; |