summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-29 07:33:23 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-10-29 07:33:23 -0700
commit7223b5acceba1097fa1e983850f3a2652781ee4d (patch)
treec102d67fd0e7058ef50482bb0f77617c77b91475 /apps
parentb0b76fe064860d2074c91897a29e0f9ac5705db8 (diff)
parentb56c936212fac36a6f67b978a5323ffc2507f610 (diff)
downloadnextcloud-server-7223b5acceba1097fa1e983850f3a2652781ee4d.tar.gz
nextcloud-server-7223b5acceba1097fa1e983850f3a2652781ee4d.zip
Merge pull request #5396 from owncloud/fix-sharing-code
Fix sharing error message - id -> file name
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/share.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 68f6f3ba76f..340e0939445 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -35,14 +35,14 @@ $(document).ready(function() {
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
OC.Share.hideDropDown(function () {
$(tr).addClass('mouseOver');
- OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);
+ OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions, filename);
});
} else {
OC.Share.hideDropDown();
}
} else {
$(tr).addClass('mouseOver');
- OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions);
+ OC.Share.showDropDown(itemType, $(tr).data('id'), appendTo, true, possiblePermissions, filename);
}
});
}