diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 53c3b6f..f9d84f1 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -207,6 +207,7 @@ function renderEditableDocumentRouting($oDocument) { $sToRender .= "\t\t" . $oPatternTableSqlQuery->render() . "\n"; $sToRender .= "\t"; $sToRender .= "\t\n"; + // FIXME display messages instead of just not displaying button // collaboration cannot be started or approved/rejected unless the document is not checked out if (!$oDocument->getIsCheckedOut() && $oDocument->hasCollaboration() && (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID())) && ($_SESSION["userID"] == $oDocument->getCreatorID())) { //if not all collaboration steps have been set, then you cannot start the collaboration process