From 29306528082f58ba09758935c5250f80aa775fd5 Mon Sep 17 00:00:00 2001 From: Holger Lindemann Date: Mon, 15 Jan 2007 10:21:01 +0000 Subject: [PATCH] =?utf8?q?Beim=20Klick=20auf=20den=20Textlink=20werden=20d?= =?utf8?q?ie=20Serveraufrufe=20doppelt=20ausgef=C3=BChrt.=20Das=20f=C3=BCh?= =?utf8?q?rt=20zu=20Problemen=20bei=20Scripten=20die=20sofort=20eine=20Akt?= =?utf8?q?ion=20ausf=C3=BChren.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/menunew.pl | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bin/mozilla/menunew.pl b/bin/mozilla/menunew.pl index 0ee610d11..b51deec80 100644 --- a/bin/mozilla/menunew.pl +++ b/bin/mozilla/menunew.pl @@ -263,8 +263,10 @@ function Item(text, href, frame, length, spacing, target) { this.target = target; this.ref = null; } -function go(link) { - top.main_window.location=link; +function go(link,frame) { + tmp=eval("top."+frame); + tmp.location=link; + //top.main_window.location=link; } function writeMenus() { if (!isDOM && !isIE4 && !isNS4) return; @@ -283,14 +285,10 @@ function writeMenus() { str += ''; str += ''; - if (href!="#") { - str +=''; - } else { - str +=''; - } + str +=''; if (target > 0) { menu[target][0].parentMenu = currMenu; menu[target][0].parentItem = currItem; -- 2.20.1
' : '>') + text + '
' : '>') + text + '
' + text + '