diff --git a/views/bootstrap/class.DropFolderChooser.php b/views/bootstrap/class.DropFolderChooser.php index b83abf79b..966da8cd3 100644 --- a/views/bootstrap/class.DropFolderChooser.php +++ b/views/bootstrap/class.DropFolderChooser.php @@ -62,11 +62,8 @@ $('.folderselect').click(function(ev) { $previewwidth = 40; $previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout); - $content = ''; - $content .= "
\n"; + $content = ''; + if($c) { + $content .= " \n"; + } echo $content; } /* }}} */