summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/share.js2
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');
}
});
},