diff --git a/CHANGELOG b/CHANGELOG index a673f86ba..ae2e3307c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ - dragging a folder on a folder list item oder the drag and drop area will recursively upload the folder hierarchy including all files - fix checking if user is owner when sending notifications +- do not show fast upload area if access on folder is insufficient -------------------------------------------------------------------------------- Changes in version 5.1.33 diff --git a/views/bootstrap/class.ViewFolder.php b/views/bootstrap/class.ViewFolder.php index 30ad20424..37b39bed8 100644 --- a/views/bootstrap/class.ViewFolder.php +++ b/views/bootstrap/class.ViewFolder.php @@ -474,13 +474,13 @@ $('body').on('click', '.order-btn', function(ev) { $folder = $this->params['folder']; $maxuploadsize = $this->params['maxuploadsize']; - $this->contentHeading(getMLText("dropupload"), true); if ($folder->getAccessMode($user) >= M_READWRITE) { + $this->contentHeading(getMLText("dropupload"), true); ?>
SeedDMS_Core_File::format_filesize($maxuploadsize)]); ?>
errorMsg(getMLText('access_denied')); + //$this->errorMsg(getMLText('access_denied')); } } /* }}} */