Version: 3.3.2-1.5.2.kde Red Hat (using KDE 3.3.2-1.7.2.kde, Fedora Core release 2 (Tettnang)) Compiler: gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) OS: Linux (i686) release 2.6.7-1.494.2.2 http://demo.opensourcecms.com/etomite/manager/ user: admin password: demo Doesn't work: JavaScript error: Error: http://demo.opensourcecms.com/etomite/manager/: TypeError: Value undefined (result of expression el.attachEvent) is not an object. Cannot be called. It works in Epiphany (Gecko-based). I'm not a Javascript expert, so can't tell you any more - just that "it doesn't work" ! :-)
I note the change of component - to "khtml ecma". I was going to enter it under this component originally, but the wizard in bugs.kde.org said, "khtml ecma - All bugs in khtml's java script binding (not the interpreter itself)". I don't know enough about the internals of the thing, but I thought it must be the interpreter... did I get that wrong? (Just asking for future reference).
attachEvent() looks like a extension function that binds this functionality to JavaScript. It's not a native JS function nor does the problem seem to be related to an error in the language interpretation itself. Therefore khtml ecma is the right component for this report.
FYI, I've now updated to KDE 3.4.1 and this bug still exists, with the same error message.
Still there in 3.5.0.
attachEvent is an IE extension, kind of comparable to DOM2 events in functionality. The webpage has emulation, but we don't get it due to a test document.layers == null. One option would be to merge the ultra-evil hacks from JSC + WebCore for better hiding, I guess
The website works fine with KDE 4.4.5