PageSourceSearch

https://khub.net/combo?browserId=chrome&minifierType=js&themeId=di…ser-force-details-update.js&t=1788452368000

js khub.net collected 2026-09-24 17:22:20 UTC 1,913 bytes, 68 lines download raw bytes

1AUI.add(
2	'user-force-details-update', 
3	function(A) {
4		var UserForceDetailsUpdate = {
5			init: function(params) {
6				var instance = this;
7				var openStepURL = params.openModalStepURL;
8				
9				if (!Liferay.Util.getWindow('portletUserForceDetailsUpdateModal')) {
10					Liferay.Util.openWindow({
11						dialog: {
12							headerContent: 'Update\x20your\x20details',
13							autoOpen: true,
14							toolbars: false,
15							resizable: false,
16							cssClass: 'portlet-user-force-details-update-modal',
17							destroyOnHide: true,
18							centered: true,
19							hideOn: [],
20							height: 850,
21							width: 950
22						},
23						dialogIframe: {
24							bodyCssClass: 'portlet-user-force-details-update'
25						},
26						id: 'portletUserForceDetailsUpdateModal',
27						title: 'update-your-details',
28						uri: openStepURL
29					});
30				}
31				
32				A.one('body').on('key', function(event) {
33					var modalToCheck = Liferay.Util.getWindow('portletUserForceDetailsUpdateModal');
34					modalToCheck.once('visibleChange', function(event) {
35						// If the dialog was already visible, then keep it visible.
36						if (event.prevVal === true) {
37							event.newVal = true;
38						}
39					});
40				}, 'esc');
41				
42			},
43			
44			groupListCheck: function(params){
45				var namespace = params.nameSpace;
46				$('#'+namespace+'updateAllGroupIds').click(function () {
47					$('input[type=checkbox][name='+namespace+'selectedGroupIds]').prop('checked', this.checked);
48				});
49			},
50			
51			closeModalDialog: function(params){
52				var namespace = params.nameSpace;
53				A.one('#'+namespace+'closeForceUserDetailsUpdateDialog').on('click', function(event) {
54					Liferay.fire('closeWindow',	{id: 'portletUserForceDetailsUpdateModal'});
55				});
56			}
57		};
58
59		A.UserForceDetailsUpdate = UserForceDetailsUpdate;
60	},
61	'',
62	{
63		requires: [	
64			'aui-modal', 'aui-io-request','liferay-portlet-url', 'liferay-util-window', 'aui-base', 'liferay-language'
65		]
66	}
67);
68

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.