diff --git a/main/document/document.php b/main/document/document.php
index 1805df27fb..28475acf52 100755
--- a/main/document/document.php
+++ b/main/document/document.php
@@ -2162,31 +2162,30 @@ $table->display();
$ajaxURL = api_get_path(WEB_AJAX_PATH).'document.ajax.php?a=get_document_quota&'.api_get_cidreq();
if (count($documentAndFolders) > 1) {
- if ($isAllowedToEdit || $groupMemberWithUploadRights) {
- echo '';
- echo '';
- }
+ });
+ });
+ });
+ ';
+ echo '';
}
+
if (!empty($table_footer)) {
echo Display::return_message($table_footer, 'warning');
}
@@ -2232,5 +2231,4 @@ echo '
';
-// Footer
Display::display_footer();