]> source.dussan.org Git - nextcloud-server.git/commitdiff
access admin settings result message correctly
authorJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 12 Jun 2014 13:59:26 +0000 (15:59 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 13 Jun 2014 09:59:14 +0000 (11:59 +0200)
apps/files_sharing/js/settings-admin.js

index fa9b236ea98d4bd7d485f7bc616f618cc1e87173..e22aa4b0c367b0aa7bc7d0bcf528d59853560097 100644 (file)
@@ -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'));
                });
        };