1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-07-26 19:36:56 +02:00

missing renames of publicListView to disableSharing

Cette révision appartient à :
Thomas Mueller 2013-01-23 09:18:26 +01:00
Parent 367aadb3b7
révision 5fadd53088
2 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

@ -1,6 +1,6 @@
$(document).ready(function() {
if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined' && !publicListView) {
if (typeof OC.Share !== 'undefined' && typeof FileActions !== 'undefined' && !disableSharing) {
FileActions.register('all', 'Share', OC.PERMISSION_READ, OC.imagePath('core', 'actions/share'), function(filename) {
if ($('#dir').val() == '/') {

Voir le fichier

@ -257,7 +257,7 @@ if ($linkItem) {
$list = new OCP\Template('files', 'part.list', '');
$list->assign('files', $files, false);
$list->assign('publicListView', true);
$list->assign('disableSharing', true);
$list->assign('baseURL', OCP\Util::linkToPublic('files').$urlLinkIdentifiers.'&path=', false);
$list->assign('downloadURL', OCP\Util::linkToPublic('files').$urlLinkIdentifiers.'&download&path=', false);
$breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', '' );