PageSourceSearch

https://www.cnss.tn/html/js/liferay/portal.js?t=1423298253487

js cnss.tn collected 2026-10-03 17:37:12 UTC 1,331 bytes, 72 lines download raw bytes

1Liferay.namespace('Portal.Tabs');
2
3Liferay.provide(
4	Liferay.Portal.Tabs,
5	'show',
6	function(namespace, names, id) {
7		var A = AUI();
8
9		var tab = A.one('#' + namespace + id + 'TabsId');
10		var panel = A.one('#' + namespace + id + 'TabsSection');
11
12		if (tab) {
13			tab.radioClass('aui-selected');
14			tab.radioClass('aui-state-active');
15			tab.radioClass('aui-tab-active');
16			tab.radioClass('current');
17		}
18
19		if (panel) {
20			panel.show();
21		}
22
23		var index = A.Array.indexOf(names, id);
24
25		names.splice(index, 1);
26
27		for (var i = 0; i < names.length; i++) {
28			el = A.one('#' + namespace + names[i] + 'TabsSection');
29
30			if (el) {
31				el.hide();
32			}
33		}
34	},
35	['aui-base']
36);
37
38Liferay.namespace('Portal.ToolTip');
39
40Liferay.provide(
41	Liferay.Portal.ToolTip,
42	'show',
43	function(obj, text) {
44		var instance = this;
45
46		var A = AUI();
47
48		if (!instance._cached) {
49			instance._cached = new A.Tooltip(
50				{
51					trigger: '.liferay-tooltip',
52					zIndex: 10000
53				}
54			).render();
55		}
56
57		var cached = instance._cached;
58
59		var trigger = cached.get('trigger');
60		var newElement = (trigger.indexOf(obj) == -1);
61		var bodyContent = cached.get('bodyContent');
62
63		if (newElement || (bodyContent != text)) {
64			cached.set('trigger', obj);
65			cached.set('bodyContent', text);
66			cached.show();
67		}
68
69		cached.refreshAlign();
70	},
71	['aui-tooltip']
72);

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.