Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aui:script use="aui-base">
- var password = A.one('#<portlet:namespace />password');
- if (password) {
- password.on(
- 'keypress',
- function(event) {
- Liferay.Util.showCapsLock(event, '<portlet:namespace />passwordCapsLockSpan');
- }
- );
- }
- </aui:script>
Add Comment
Please, Sign In to add comment