aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-12 15:59:26 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-13 11:59:14 +0200
commit7e8784c075b5e56abf44d0eb0c2e357be8342ca5 (patch)
tree717e2ed3adc09c1adce20eb46069f32b12c3e1cc
parentb91db840502ee3c398c63c70b8a0bd1d789c4338 (diff)
downloadnextcloud-server-7e8784c075b5e56abf44d0eb0c2e357be8342ca5.tar.gz
nextcloud-server-7e8784c075b5e56abf44d0eb0c2e357be8342ca5.zip
access admin settings result message correctly
-rw-r--r--apps/files_sharing/js/settings-admin.js2
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'));
});
};