Foren
Focus problem while login
Liferay Question, geändert vor 12 Jahren.
Focus problem while login
Tarkan Çorak, geändert vor 12 Jahren.
RE: Focus problem while login
Regular Member Beiträge: 141 Beitrittsdatum: 07.10.08 Neueste Beiträge
Hi,
You just need to hook the login page (custom_jsps/html/portlet/login/login.jsp) and change these lines as follows:
Delete these lines if you want to remove auto focus completely.
Tarkan
You just need to hook the login page (custom_jsps/html/portlet/login/login.jsp) and change these lines as follows:
<c:if test="<%= windowState.equals(WindowState.MAXIMIZED) %>">
<aui:script>
Liferay.Util.focusFormField(document.<portlet:namespace />fm.<portlet:namespace />[b]password[/b]);
</aui:script>
</c:if>
Delete these lines if you want to remove auto focus completely.
Tarkan
Liferay Question, geändert vor 12 Jahren.