PageSourceSearch

https://www.ramajudicial.gov.co/combo?browserId=other&minifierType…/product_navigation_control_menu.js

js ramajudicial.gov.co collected 2026-09-25 18:16:04 UTC 921 bytes, 40 lines download raw bytes

1;(function() {
2	var adjustScrollTop = function() {
3		var controlMenu;
4		var controlMenuId;
5		var controlMenuScroll;
6		var errorFieldLabel;
7		var labelScroll;
8
9		errorFieldLabel = document.querySelector('.form-group.has-error .control-label');
10
11		if (errorFieldLabel) {
12			labelScroll = (errorFieldLabel.clientHeight || 0);
13
14			window.scrollBy(0, -labelScroll);
15		}
16
17		if (Liferay.ControlMenu) {
18			controlMenuId = Liferay.ControlMenu._namespace + 'ControlMenu';
19			controlMenu = document.getElementById(controlMenuId);
20
21			if (controlMenu) {
22				controlMenuScroll = (controlMenu.offsetHeight || 0);
23
24				window.scrollBy(0, -controlMenuScroll);
25			}
26		}
27	};
28
29	var handleFormRegistered = function(event) {
30		if (event.form && event.form.formValidator) {
31			AUI().Do.after(
32				adjustScrollTop,
33				event.form.formValidator,
34				'focusInvalidField'
35			);
36		}
37	};
38
39	Liferay.on('form:registered', handleFormRegistered);
40}());

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.