X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fmenunew.pl;h=b51deec80d902d31e2e459cb5b01c27fd5494850;hb=75edb8e6c9900ae7a8af8eb644cf064532acc9ea;hp=0ee610d112c506d25adb94874ef805aca877d78b;hpb=101a5e1f45b26386025a130be304a333ee8b64b7;p=kivitendo-erp.git 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;
' : '>') + text + '
' : '>') + text + '
' + text + '