diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index e740e9651..7d4c25ee9 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -199,7 +199,7 @@ $(document).ready(function() { 'type'=>'text', 'id'=>'name', 'name'=>'name', - 'required'=>true + 'required'=>false ) ); $this->formField( @@ -310,7 +310,7 @@ $(document).ready(function() { ); $this->formField( getMLText("local_file"), - $enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooserHtml('userfile[]', false).($enablemultiupload ? '' : '') + $enablelargefileupload ? $this->getFineUploaderHtml() : $this->getFileChooserHtml('userfile[]', $enablemultiupload).($enablemultiupload ? '' : '') ); if($dropfolderdir) { $this->formField( diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 1eb5703c7..4f3f07054 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1039,7 +1039,7 @@ $(document).ready(function() {
- '.getMLText("browse").'… + '.getMLText("browse").'…
@@ -1422,7 +1422,7 @@ $(document).ready(function() { $content = "
\n"; $content .= ""; $content .= ""; - $content .= "".($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file"))."…\n"; + $content .= "".($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file"))."…\n"; $content .= "
\n"; $content .= '