Commit 793d59d8530378d29dea60b403bf6d36eacb2879
1 parent
9f3d30b9
added comment
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2273 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
| @@ -207,6 +207,7 @@ function renderEditableDocumentRouting($oDocument) { | @@ -207,6 +207,7 @@ function renderEditableDocumentRouting($oDocument) { | ||
| 207 | $sToRender .= "\t\t<td>" . $oPatternTableSqlQuery->render() . "</td>\n"; | 207 | $sToRender .= "\t\t<td>" . $oPatternTableSqlQuery->render() . "</td>\n"; |
| 208 | $sToRender .= "\t</tr>"; | 208 | $sToRender .= "\t</tr>"; |
| 209 | $sToRender .= "\t<tr>\n"; | 209 | $sToRender .= "\t<tr>\n"; |
| 210 | + // FIXME display messages instead of just not displaying button | ||
| 210 | // collaboration cannot be started or approved/rejected unless the document is not checked out | 211 | // collaboration cannot be started or approved/rejected unless the document is not checked out |
| 211 | if (!$oDocument->getIsCheckedOut() && $oDocument->hasCollaboration() && (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID())) && ($_SESSION["userID"] == $oDocument->getCreatorID())) { | 212 | if (!$oDocument->getIsCheckedOut() && $oDocument->hasCollaboration() && (!DocumentCollaboration::documentCollaborationStarted($oDocument->getID())) && ($_SESSION["userID"] == $oDocument->getCreatorID())) { |
| 212 | //if not all collaboration steps have been set, then you cannot start the collaboration process | 213 | //if not all collaboration steps have been set, then you cannot start the collaboration process |