access admin settings result message correctly

remotes/origin/ldap_group_count
Jörn Friedrich Dreyer 11 years ago
parent b91db84050
commit 7e8784c075
  1. 2
      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'));
});
};

Loading…
Cancel
Save