diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php index 5807edb..0c40509 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php @@ -70,7 +70,6 @@ if (checkSession()) { $sStatusMessage = "You cannot edit a document collaboration step that is completed or currently underway"; $oPatternCustom->setHtml(getStatusPage($oDocument, $sStatusMessage)); $main->setDHTMLScrolling(false); - $main->setFormAction("$default->rootUrl/control.php?action=modifyDocument&fDocumentID=" . $oDocument->getID()); } else if (isset($fBeginCollaboration) && Permission::userHasDocumentWritePermission($fDocumentID)) { //begin the collaboration process //first ensure that all steps in the collaboration process are assigned diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 2bad02e..8aed8e7 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -49,7 +49,7 @@ function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") { $sToRender .= "\t\n"; if ($sStatusMessage) { - $sToRender .= ""; + $sToRender .= ""; } $sToRender .= "\t\n"; $sToRender .= "\t\t\n"; @@ -460,7 +460,7 @@ function getStatusPage($oDocument, $sStatusMessage) { $sToRender = "
"; $sToRender .= renderHeading("Document Detail"); $sToRender .= renderDocumentPath($oDocument, false) . "\n\n"; - $sToRender .= "
$sStatusMessage
 
$sStatusMessage
" . $oPatternListFromQuery->render() . "
"; + $sToRender .= "
"; // if we have a status message, then make the section links refresh to viewDocument with the fShowSection variable // ie. effectively removes statusMessage on next click @@ -474,7 +474,7 @@ function getStatusPage($oDocument, $sStatusMessage) { $sToRender .= renderDocumentSection("linkedDocuments", "Linked Documents", $bDisplayLink, $oDocument->getID()); $sToRender .= "
"; $sToRender .= ""; - $sToRender .= renderSectionDiv("documentData", renderDocumentData($oDocument, false, $sStatusMessage)); + $sToRender .= renderDocumentData($oDocument, false, $sStatusMessage); return $sToRender; }