access admin settings result message correctly
This commit is contained in:
parent
b91db84050
commit
7e8784c075
|
@ -7,7 +7,7 @@ $(document).ready(function() {
|
||||||
).done(function( result ) {
|
).done(function( result ) {
|
||||||
$( '#mailTemplateSettings textarea' ).val(result);
|
$( '#mailTemplateSettings textarea' ).val(result);
|
||||||
}).fail(function( 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'));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue