[LRA-80] Calculator Portlet: It seems is blocking other input fields present in the page when it is installed Created: 06/Feb/14 Updated: 07/Feb/14 Resolved: 07/Feb/14 |
|
| Status: | Resolved |
| Project: | Liferay Apps |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Katalina Marcos | Assignee: | jorge.rojas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I've installed the calculator portlet in the welcome page, next to login portlet and it is not possible enter data in the login fields. It seems they are blocked.
The form works fine again after uninstall the portlet. |
| Comments |
| Comment by jorge.rojas [ 07/Feb/14 ] |
|
The issue just occur when the login-portlet is in the same column of calculator-portlet. I think that is a JS issue. |
| Comment by jorge.rojas [ 07/Feb/14 ] |
|
main.js I removed .ancestor() function in line number 42. BEFORE: var calcContainer = A.one('.calculator-portlet').ancestor(); calcContainer.setAttribute('tabindex','0') .setStyle('outline','none') .getDOMNode().onkeydown = checkKey; AFTER: var calcContainer = A.one('.calculator-portlet'); calcContainer.setAttribute('tabindex','0') .setStyle('outline','none') .getDOMNode().onkeydown = checkKey; |
| Comment by jorge.rojas [ 07/Feb/14 ] |
| Tested and resolved!!! |