[Pkg-owncloud-commits] [owncloud] 72/223: access admin settings result message correctly

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:07 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 7e8784c075b5e56abf44d0eb0c2e357be8342ca5
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Thu Jun 12 15:59:26 2014 +0200

    access admin settings result message correctly
---
 apps/files_sharing/js/settings-admin.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/js/settings-admin.js b/apps/files_sharing/js/settings-admin.js
index fa9b236..e22aa4b 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'));
 		});
 	};
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list