Commit 0ffdf8619175da49963e6dc6ac70119fb87f563a
1 parent
e1752381
Updated dependant document so that documents can be added
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2012 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/dashboardUI.inc
| ... | ... | @@ -130,7 +130,7 @@ function renderDependantDocuments($aDependantDocumentList) { |
| 130 | 130 | $oTemplateDocument = Document::get($oDependantDocument->getTemplateDocumentID()); |
| 131 | 131 | |
| 132 | 132 | $sToRender .= "\t\t\t<tr>\n"; |
| 133 | - $sToRender .= "\t\t\t\t<td>" . $oDependantDocument->getDocumentTitle() . "</td>"; | |
| 133 | + $sToRender .= "\t\t\t\t<td>" . generateControllerLink("addDocument", "fFolderID=" . User::getUserRootFolder() . "&fDependantDocumentID=" . $oDependantDocument->getID(), $oDependantDocument->getDocumentTitle()) . "</td>"; | |
| 134 | 134 | if (!($oTemplateDocument === false)) { |
| 135 | 135 | $sToRender .= "<td>" . generateControllerLink("viewDocument", "fDocumentID=" . $oTemplateDocument->getID(), "<img src=\"$default->graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oTemplateDocument->getName()) . "</td>\n"; |
| 136 | 136 | } else { | ... | ... |