diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-01 17:52:29 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-01 17:52:29 -0400 |
commit | 4933128850879f0e0590746b6742dafcf857e113 (patch) | |
tree | 9932c4f25e97d7fcc2f8f7165644212565a0247d /core/js | |
parent | 2201074e1f1e4ec3c2f60cac74d8168738d83650 (diff) | |
download | nextcloud-server-4933128850879f0e0590746b6742dafcf857e113.tar.gz nextcloud-server-4933128850879f0e0590746b6742dafcf857e113.zip |
Throw exceptions in share API for UI to display
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 5832acfd454..a3fe0f69732 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -47,7 +47,7 @@ OC.Share={ callback(result.data); } } else { - OC.dialogs.alert('Error', 'Error while sharing'); + OC.dialogs.alert(result.data.message, 'Error while sharing'); } }); }, |