[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 91652] New: Pressing Enter on Submit button doesn't emit
From:       pezz () tkwcy ! ee
Date:       2004-10-19 9:09:33
Message-ID: 20041019110932.91652.pezz () tkwcy ! ee
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=91652        
           Summary: Pressing Enter on Submit button doesn't emit onclick JS
                    event
           Product: konqueror
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs kde org
        ReportedBy: pezz tkwcy ee


Version:            (using KDE KDE 3.3.1)
Installed from:    SuSE RPMs
Compiler:          cc version 3.3.3 (SuSE Linux)
 
OS:                Linux

We have problem with using our information system located at \
https://www.is.ut.ee/pls/ois/tere.tulemast

Login page has some data validation put under submit button's onclick event and due \
to some JS logic logging in is available ONLY when submit button's onclick event is \
emitted. Problem is that Konqueror doesn't emit onclick JS event when Enter is \
pressed on keyboard. It emits correcly when submit button is pressed using mouse.

Pattern 1:
* open https://www.is.ut.ee/pls/ois/tere.tulemast on new window
* enter foo and bar into username and password fields
* press Enter OR press Tab to put focus on submit button and then press Enter.
Result: form is submitted, but because submit button's onclick was not emitted empty \
login page is shown again instead of red unsuccessful login attempt text.

Pattern 2:
* open https://www.is.ut.ee/pls/ois/tere.tulemast on new window
* enter foo and bar into username and password fields
* click on submit button using mouse.
Result: form is submitted and because of submit button's onclick red unsuccessful \
login attempt text is shown now.

HTML 4.0 spec says:
The onclick event occurs when the pointing device button is clicked over an element. \
This attribute may be used with most elements. 

Firefox, Opera and IE emit onclick on pressing Enter in form.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic