Bug 810311 - Hitting enter on login page is broken (JS error)
Summary: Hitting enter on login page is broken (JS error)
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.1.ER03
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.2.1.CR02
Assignee: Thomas Heute
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-05 15:12 UTC by Michal Vanco
Modified: 2013-04-30 23:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix JS error with missing onclick, clickable area is better than with previous fix. (1.09 KB, patch)
2012-04-05 21:21 UTC, Michal Vanco
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 793686 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Issue Tracker JBEPP-762 0 None Closed Sign-in button: Clickable area is much wider than the visible button 2012-04-17 08:39:41 UTC

Internal Links: 793686

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)


Note You need to log in before you can comment on or make changes to this bug.