use errorMsg() instead of plain html

This commit is contained in:
Uwe Steinmann 2021-07-08 14:18:49 +02:00
parent d67e85be06
commit 13f0f6aafb

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* Implementation of CategoryChooser view * Implementation of DropFolderChooser view
* *
* @category DMS * @category DMS
* @package SeedDMS * @package SeedDMS
@ -24,7 +24,7 @@
require_once("SeedDMS/Preview.php"); require_once("SeedDMS/Preview.php");
/** /**
* Class which outputs the html page for CategoryChooser view * Class which outputs the html page for DropFolderChooser view
* *
* @category DMS * @category DMS
* @package SeedDMS * @package SeedDMS
@ -156,7 +156,7 @@ $('.folderselect').click(function(ev) {
echo "</table>\n"; echo "</table>\n";
echo '<script src="../out/out.DropFolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n"; echo '<script src="../out/out.DropFolderChooser.php?action=js&'.$_SERVER['QUERY_STRING'].'"></script>'."\n";
} else { } else {
echo "<div class=\"alert alert-danger\">".getMLText('invalid_dropfolder_folder')."</div>"; echo $this->errorMsg(getMLText('invalid_dropfolder_folder'));
} }
} }
} /* }}} */ } /* }}} */