Bug 810311

Summary: Hitting enter on login page is broken (JS error)
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Michal Vanco <mvanco>
Component: PortalAssignee: Thomas Heute <theute>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2.1.ER03CC: epp-bugs, mvecera, theute
Target Milestone: ---   
Target Release: 5.2.1.CR02   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix JS error with missing onclick, clickable area is better than with previous fix. none

Description Michal Vanco 2012-04-05 15:12:41 UTC
There is a JS error at login page ():

uiPortalLoginFormAction.onclick is not a function
uiPortalLoginFormAction.onclick() ;


Steps to Reproduce:
1. Access login page, e.g. open portal, click Sign in, enter invalid values
2. Fill values in inputs and hit enter -> JS error in firebug, you have to use mouse to click on button

Comment 1 Michal Vanco 2012-04-05 21:01:17 UTC
This is caused by change https://source.jboss.org/changelog/GateIn?cs=8543 , related to JBEPP-762.

Comment 2 Michal Vanco 2012-04-05 21:21:31 UTC
Created attachment 575556 [details]
Patch to fix JS error with missing onclick, clickable area is better than with previous fix.

Revision https://source.jboss.org/changelog/GateIn?showid=8543 removed onclick function from parent div element which was too wide to click. Onclick function was added to link element (which was on the other side smaller than button)
Now onclick function was moved to table element - parent of link, there is no JS error anymore and whole button is clickable.
(this can be also fixed by adding new id of table element and change id in web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortalControl.js)