Skip to content
Snippets Groups Projects
Commit 7e8784c0 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

access admin settings result message correctly

parent b91db840
No related branches found
No related tags found
No related merge requests found
......@@ -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'));
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment