Commit 82f34a26150462f91c07f23f245d3c035585864b
1 parent
df070805
updated default document error page- back button
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1180 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc
| @@ -107,7 +107,8 @@ function renderCheckOutPage($oDocument) { | @@ -107,7 +107,8 @@ function renderCheckOutPage($oDocument) { | ||
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | function renderErrorPage($sErrorMessage) { | 109 | function renderErrorPage($sErrorMessage) { |
| 110 | + global $default; | ||
| 110 | return "<p class=\"errorText\">$sErrorMessage</p>\n" . | 111 | return "<p class=\"errorText\">$sErrorMessage</p>\n" . |
| 111 | - "<a href=\"$default->rootUrl/control.php?action=addOrg\"><img src =\"$default->graphicsUrl/widgets/back.gif\" border = \"0\" /></a>\n"; | 112 | + "<a href=\"javascript:history.go(-1)\"><img src=\"$default->graphicsUrl/widgets/back.gif\" border=\"0\"/></a>\n"; |
| 112 | } | 113 | } |
| 113 | ?> | 114 | ?> |