summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-08-18 13:04:02 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:25 +0200
commite3fd96fa8ef2aa5b5fd3881e75b95c7a869895fa (patch)
treef6df32ac24d45a7be2dd858edcdc886047f66903 /core/js/share.js
parenta57ff13a23ce06846160c1264369ff4b07619890 (diff)
downloadnextcloud-server-e3fd96fa8ef2aa5b5fd3881e75b95c7a869895fa.tar.gz
nextcloud-server-e3fd96fa8ef2aa5b5fd3881e75b95c7a869895fa.zip
improve doc
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) {