fix links in task menu

This commit is contained in:
Uwe Steinmann 2015-12-10 09:23:58 +01:00
parent 9e09e5db5a
commit 65a1ba9102

View File

@ -288,7 +288,7 @@ $(document).ready(function () {
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
foreach($tasks['receipt'] as $t) {
$doc = $dms->getDocument($t);
$content .= " <li><a href=\"../out/out.ViewDocument.php?documentid=".$doc->getID()."&currenttab=receipt\">".$doc->getName()."</a></li>";
$content .= " <li><a href=\"../out/out.ViewDocument.php?documentid=".$doc->getID()."&currenttab=recipients\">".$doc->getName()."</a></li>";
}
$content .= " </ul>\n";
$content .= " </li>\n";
@ -299,7 +299,7 @@ $(document).ready(function () {
$content .= " <ul class=\"dropdown-menu\" role=\"menu\">\n";
foreach($tasks['revision'] as $t) {
$doc = $dms->getDocument($t);
$content .= " <li><a href=\"../out/out.ViewDocument.php?documentid=".$doc->getID()."&currenttab=revise\">".$doc->getName()."</a></li>";
$content .= " <li><a href=\"../out/out.ViewDocument.php?documentid=".$doc->getID()."&currenttab=revision\">".$doc->getName()."</a></li>";
}
$content .= " </ul>\n";
$content .= " </li>\n";