From a1e1aa039c2eeef8740cbee9548417f05804f260 Mon Sep 17 00:00:00 2001 From: allo Date: Fri, 10 Feb 2006 19:28:28 +0000 Subject: [PATCH] More links git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1603 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/js/WatchCrawler.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js index b5c526cff..78ea25743 100644 --- a/htroot/js/WatchCrawler.js +++ b/htroot/js/WatchCrawler.js @@ -110,16 +110,18 @@ function createRow(initiator, depth, modified, anchor, url, size, hash){ row.appendChild(createCol(depth)); row.appendChild(createCol(modified)); row.appendChild(createCol(anchor)); - row.appendChild(createCol(url)); + row.appendChild(createLinkCol(url, url)); row.appendChild(createCol(size)); - - //create delete link + row.appendChild(createLinkCol("IndexCreateIndexingQueue_p.html?deleteEntry="+hash, DELETE_STRING)); + return row; +} +function createLinkCol(url, linktext){ col=document.createElement("td"); link=document.createElement("a"); - link.setAttribute("href", "IndexCreateIndexingQueue_p.html?deleteEntry="+hash); - text=document.createTextNode(DELETE_STRING); + link.setAttribute("href", url); + link.setAttribute("target", "_blank"); + text=document.createTextNode(linktext); link.appendChild(text); col.appendChild(link) - row.appendChild(col); - return row; + return col }