Commit 2d239dfaff7be76b26f95025ca646881439fb03a
1 parent
78d72f47
changed cancel link to use getControllerLink function and incorporated showing a…
… particular section on the document details page git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2204 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc
| @@ -53,7 +53,7 @@ function getPage($iDocumentID, $iDocumentTypeID, $fFirstEdit) { | @@ -53,7 +53,7 @@ function getPage($iDocumentID, $iDocumentTypeID, $fFirstEdit) { | ||
| 53 | if (!isset($fFirstEdit)) { | 53 | if (!isset($fFirstEdit)) { |
| 54 | //can't cancel if you're uploading for the first time, must fill out the generic meta data | 54 | //can't cancel if you're uploading for the first time, must fill out the generic meta data |
| 55 | $sToRender .= "<td>\n"; | 55 | $sToRender .= "<td>\n"; |
| 56 | - $sToRender .= "<a href=\"$default->rootUrl/control.php?action=viewDocument&fDocumentID=$iDocumentID\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=\"0\" /></a>\n"; | 56 | + $sToRender .= "<a href=\"$default->rootUrl/control.php?action=viewDocument&fDocumentID=$iDocumentID&fShowSection=genericMetaData\"><img src=\"$default->graphicsUrl/widgets/cancel.gif\" border=\"0\" /></a>\n"; |
| 57 | $sToRender .= "</td>\n"; | 57 | $sToRender .= "</td>\n"; |
| 58 | $sToRender .= "</tr>\n"; | 58 | $sToRender .= "</tr>\n"; |
| 59 | } | 59 | } |