Summary: | My bank's javascript menu not working (www.osuuspankki.fi) with mozilla it is OK | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Jarkko Haapalainen <jarkko.haapalainen> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jarkko Haapalainen
2004-01-20 17:47:14 UTC
Subject: Re: New: My bank's javascript menu not working (www.osuuspankki.fi) with mozilla it is OK On Tuesday 20 January 2004 11:47, Jarkko Haapalainen wrote: > When you go address : http://www.osuuspankki.fi > > You see top menu like : Maksut | Tilit | Kortit ... so on > > If you enter username (Käyttäjätunnus): 123456 > ..and password (Salasana): 7890 > > And click "Jatka". > > You can see now that the menu is not working. With mozilla the menu is ok > and working, but I don't want to use mozilla anymore, I want to use > konqueror ;) Seems to work for me. Very recent KHTML update... Wfm too. I've have real account and it worked, although I've used to use <URL: http://pda.osuuspankki.fi>. 3_2_BRANCH build from today CVS. Great if it's working! :) .. but anyway here's screenshot how it looks with 3.2-RC1 >> http://www.student.oulu.fi/~johaapa/desktop2.jpg Nope, I compiled kdelibs and kdebase 20040122 snapshots and it's not working. I turned on javascript debugging and this kind errors I got from: https://www.osuuspankki.fi/ui/quickmenu_dom.asp Parse error at line 51 line 278: ReferenceError: Can't find variable: initMenus Can't find variable: cancelTimeout Javascript is working on other sites, so this is kinda weird. The parse error comes from the following JS code in quickmenu_dom.asp: const BODY_HEIGHT = 35; "const" is not a standard JS keyword, yet. We'll add a workaround but I suggest that you contact your bank's webmaster and tell him to use "var" instead. My Finnish is not good enough for this :) CVS commit by porten: for now, make "const" a synonym for "var". Not standardized as of Edition 3 but already supported by other browsers. CCMAIL: 73040-done@bugs.kde.org M +6 -0 ChangeLog 1.36.2.2 M +1 -1 keywords.table 1.3 --- kdelibs/kjs/ChangeLog #1.36.2.1:1.36.2.2 @@ -1,2 +1,8 @@ +2004-02-23 Harri Porten <porten@kde.org> + + * keywords.table: for now, make "const" a synonym for "var". Not + standardized as of Edition 3 but already supported by other + browsers. + 2004-02-22 Harri Porten <porten@kde.org> --- kdelibs/kjs/keywords.table #1.2:1.3 @@ -37,5 +37,5 @@ char RESERVED class RESERVED -const RESERVED +const VAR debugger RESERVED double RESERVED Thanks, but.. ;) Just patched my kdelibs (3.2.0). It works now if you go straight to url in comment #4 , but not then if you log in www.osuuspankki.fi . Menu doesn't show up. Strange.. No javascript errors now, but menu isn't showing. Can it be now khtml issue? Because if I open the menu frame in new window and selecting text the menu show up (kinda). Menu is very messy and not showing right. Hard to explain, but you should see it what I mean if you test. Installed KDE 3.2.1. Bug persist. I think this is not javascript problem now, more likely "khtml" issue. Reopening bug. If someone please confirm this and change component to khtml. I'd say it's a site bug. Change UA -> mozilla and menu works. <URL: http://zebra.tky.hut.fi/~teve/kde/op.png> What about if you are in "main" https://www.osuuspankki.fi ? Does the menu look same there? I noticed if I go further to accounts (from left side links) the top menu looks ok and it is working correctly there. So weird.. Btw. what you mean by "UA -> mozilla"? Browser identification? that didn't work to main page. Main page works without tricks. <URL: http://zebra.tky.hut.fi/~teve/kde/op_main.png> UA = User Agent <-> Browser Identification. > Main page works without tricks.
> <URL: http://zebra.tky.hut.fi/~teve/kde/op_main.png>
What about if you are logged in?
> What about if you are logged in?
Menu is present.
Hmm.. What distribution are you using? Planning to make same setup and find where the problem lies with my current setup.. RH-7.3, self compiled kde and Debian unstable with debian packaged kde-3.2.1. Both behaves similarly. Now I got it working. I backed up and deleted all of mine ~/.kde* files and now it is working. I tried first to delete all cache and temporary files, but that didn't help. I have tried this before, but not yet with 3.2.1. Nice :) Thank you for solving this with me! :) |