Commit dad7bdee9551fb7c0a5f64538ece3cfe95b29d79

Authored by michael
1 parent d1fbdbca

fixed ie js bug: s/javascript:void();/#/g


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2237 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -387,7 +387,7 @@ function renderDocumentSection($sSectionName, $sHeadingText, $bDisplayLink, $iDo @@ -387,7 +387,7 @@ function renderDocumentSection($sSectionName, $sHeadingText, $bDisplayLink, $iDo
387 if ($bDisplayLink) { 387 if ($bDisplayLink) {
388 $sLink = generateControllerLink("viewDocument", "fDocumentID=$iDocumentID&fShowSection=$sSectionName", $sHeadingText); 388 $sLink = generateControllerLink("viewDocument", "fDocumentID=$iDocumentID&fShowSection=$sSectionName", $sHeadingText);
389 } else { 389 } else {
390 - $sLink = "<a href=\"javascript:void();\" onClick=\"switchDiv('$sSectionName', 'document');\">$sHeadingText</a>"; 390 + $sLink = "<a href=\"#\" onClick=\"switchDiv('$sSectionName', 'document');\">$sHeadingText</a>";
391 } 391 }
392 return "<tr bgcolor=\"" . getColour($iColour) . "\"><td width=\"100%\">$sLink</td></tr>\n"; 392 return "<tr bgcolor=\"" . getColour($iColour) . "\"><td width=\"100%\">$sLink</td></tr>\n";
393 } 393 }