aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 8d25749a107..84da511497e 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -293,7 +293,9 @@ OC.Share = _.extend(OC.Share, {
*
* @param itemType
* @param itemSource
- * @param callback
+ * @param callback - optional. If a callback is given this method works
+ * asynchronous and the callback will be provided with data when the request
+ * is done.
* @returns {OC.Share.Types.ShareInfo}
*/
loadItem:function(itemType, itemSource, callback) {