mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
show warning if document is checked out
This commit is contained in:
parent
5952d49711
commit
91f7d8dfc3
|
@ -145,6 +145,12 @@ function checkForm()
|
|||
$msg .= "<p>".sprintf(getMLText('link_alt_updatedocument'), "out.AddMultiDocument.php?folderid=".$folder->getID()."&showtree=".showtree())."</p>";
|
||||
}
|
||||
$this->warningMsg($msg);
|
||||
|
||||
if ($document->isCheckedOut()) {
|
||||
$msg = getMLText('document_is_checked_out');
|
||||
$this->warningMsg($msg);
|
||||
}
|
||||
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user