Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-351

Server log shows minifier errors when using Audience Targeting

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: No Longer Reproducible
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: Content Targeting
    • Labels:
      None
    • Fix Priority:
      3

      Description

      ent-outside', 'liferay-ajax-search', 'liferay-form', 'liferay-icon', 'liferay-menu', 'liferay-notice', 'liferay-poller', 'liferay-search-container', 'liferay-session', 'liferay-store', 'liferay-util-list-fields', function(A) {(function() {_			A.one('#_ctadmin_WAR_contenttargetingweb_qgnsNavbarBtn').on(_				'click',_				function(event) {_					var btnNavbar = event.currentTarget;__					var navbar = btnNavbar.ancestor('.navbar');__					var navbarCollapse = A.one('#_ctadmin_WAR_contenttargetingweb_qgnsNavbarSearchCollapse');__					var handle = Liferay.Data['_ctadmin_WAR_contenttargetingweb_qgnsHandle'];__					if (navbarCollapse.hasClass('open') && handle) {_						handle.detach();__						handle = null;_					}_					else {_						handle = navbarCollapse.on(_							'mousedownoutside',_							function(event) {_								if (!btnNavbar.contains(event.target)) {_									Liferay.Data['_ctadmin_WAR_contenttargetingweb_qgnsHandle'] = null;__									handle.detach();__									navbarCollapse.removeClass('open');__									if (navbar) {_										navbar.all('.btn-navbar, .nav').show();_									}_								}_							}_						);_					}__					navbarCollapse.toggleClass('open');__					if (navbar) {_						navbar.all('.btn-navbar, .nav').hide();_					}__					Liferay.Data['_ctadmin_WAR_contenttargetingweb_qgnsHandle'] = handle;_				}_			);_		})();(function() {_				A.one('#acah').delegate(_					'click',_					function(event) {_						var btnNavbar = event.currentTarget;__						var navId = btnNavbar.attr('data-navId');__						var navbarCollapse = A.one('#' + navId + 'NavbarCollapse');__						if (navbarCollapse) {_							var handle = Liferay.Data['acahHandle'];__							if (navbarCollapse.hasClass('open') && handle) {_								handle.detach();__								handle = null;_							}_							else {_								handle = navbarCollapse.on(_									'mousedownoutside',_									function(event) {_										if (!btnNavbar.contains(event.target)) {_											Liferay.Data['acahHandle'] = null;__											handle.detach();__											navbarCollapse.removeClass('open');_										}_									}_								);_							}__							navbarCollapse.toggleClass('open');__							Liferay.Data['acahHandle'] = handle;_						}_					},_					'.btn-navbar'_				);_			})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_kldx_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_kldx_null_null_menu');})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_tiym_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_tiym_null_null_menu');})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_hjzj_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_hjzj_null_null_menu');})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_dhec_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_dhec_null_null_menu');})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_bbln_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_bbln_null_null_menu');})();(function() {_		new Liferay.SearchContainer(_			{_				classNameHover: 'hover',_				hover: true,_				id: '_ctadmin_WAR_contenttargetingweb_userSegmentsSearchContainer',_				rowClassNameAlternate: '',_				rowClassNameAlternateHover: '-hover',_				rowClassNameBody: '',_				rowClassNameBodyHover: ''_			}_		).render();_	})();(function() {	var deleteUserSegments = A.one('#_ctadmin_WAR_contenttargetingweb_deleteUserSegments');__	A.one('#_ctadmin_WAR_contenttargetingweb_userSegmentsSearchContainerSearchContainer').on(_		'click',_		function() {_			var hide = (Liferay.Util.listCheckedExcept(document._ctadmin_WAR_contenttargetingweb_fmUserSegment, '_ctadmin_WAR_contenttargetingweb_allRowIds').length == 0);__			deleteUserSegments.toggle(!hide);_		},_		'input[type=checkbox]'_	);__	deleteUserSegments.on(_		'click',_		function(event) {_			if (confirm('Esteu segur que voleu eliminar-ho? S'esborrarà immediatament.')) {_				document._ctadmin_WAR_contenttargetingweb_fmUserSegment._ctadmin_WAR_contenttargetingweb_userSegmentIds.value = Liferay.Util.listCheckedExcept(document._ctadmin_WAR_contenttargetingweb_fmUserSegment, '_ctadmin_WAR_contenttargetingweb_allRowIds');____				submitForm(document._ctadmin_WAR_contenttargetingweb_fmUserSegment, 'http://wcm-dev.liferay.org.es/ca/group/control_panel/manage?p_auth=WSTAELsM&p_p_id=ctadmin_WAR_contenttargetingweb&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=10184&refererPlid=10187&controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_redirect=http%3A%2F%2Fwcm-dev.liferay.org.es%2Fca%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dctadmin_WAR_contenttargetingweb%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10184%26refererPlid%3D10187%26controlPanelCategory%3Dcurrent_site.configuration%26_ctadmin_WAR_contenttargetingweb_tabs1%3Duser-segments%26_ctadmin_WAR_contenttargetingweb_mvcPath%3Dhtml%252Fcontent_targeting%252Fview.ftl&_ctadmin_WAR_contenttargetingweb_javax.portlet.action=deleteUserSegment');_			}_		}_	);_})();(function() {_	Liferay.Form.register(_		{_			id: '_ctadmin_WAR_contenttargetingweb_fmUserSegment'__			_				, fieldRules: [__					__				]_			__			_		}_	);_})();(function() {	var userSegmentsPanel = A.one('#_ctadmin_WAR_contenttargetingweb_userSegmentsPanel');_	var inputNode = A.one('#_ctadmin_WAR_contenttargetingweb_userSegmentkeywords');__	var search = new Liferay.AjaxContentSearch(_		{_			contentPanel: userSegmentsPanel,_			inputNode: inputNode,_			resourceURL: 'http://wcm-dev.liferay.org.es/ca/group/control_panel/manage?p_p_id=ctadmin_WAR_contenttargetingweb&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_cacheability=cacheLevelPage&doAsGroupId=10184&refererPlid=10187&controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_tabs1=user-segments&_ctadmin_WAR_contenttargetingweb_mvcPath=html%2Fcontent_targeting%2Fview_user_segments_resources.ftl&_ctadmin_WAR_contenttargetingweb_refererPlid=10187&_ctadmin_WAR_contenttargetingweb_controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_doAsGroupId=10184',_			namespace: '_ctadmin_WAR_contenttargetingweb_'_		}_	);_})();(function() {_			A.one('#_ctadmin_WAR_contenttargetingweb_zyyaNavbarBtn').on(_				'click',_				function(event) {_					var btnNavbar = event.currentTarget;__					var navbar = btnNavbar.ancestor('.navbar');__					var navbarCollapse = A.one('#_ctadmin_WAR_contenttargetingweb_zyyaNavbarSearchCollapse');__					var handle = Liferay.Data['_ctadmin_WAR_contenttargetingweb_zyyaHandle'];__					if (navbarCollapse.hasClass('open') && handle) {_						handle.detach();__						handle = null;_					}_					else {_						handle = navbarCollapse.on(_							'mousedownoutside',_							function(event) {_								if (!btnNavbar.contains(event.target)) {_									Liferay.Data['_ctadmin_WAR_contenttargetingweb_zyyaHandle'] = null;__									handle.detach();__									navbarCollapse.removeClass('open');__									if (navbar) {_										navbar.all('.btn-navbar, .nav').show();_									}_								}_							}_						);_					}__					navbarCollapse.toggleClass('open');__					if (navbar) {_						navbar.all('.btn-navbar, .nav').hide();_					}__					Liferay.Data['_ctadmin_WAR_contenttargetingweb_zyyaHandle'] = handle;_				}_			);_		})();(function() {_				A.one('#nwjb').delegate(_					'click',_					function(event) {_						var btnNavbar = event.currentTarget;__						var navId = btnNavbar.attr('data-navId');__						var navbarCollapse = A.one('#' + navId + 'NavbarCollapse');__						if (navbarCollapse) {_							var handle = Liferay.Data['nwjbHandle'];__							if (navbarCollapse.hasClass('open') && handle) {_								handle.detach();__								handle = null;_							}_							else {_								handle = navbarCollapse.on(_									'mousedownoutside',_									function(event) {_										if (!btnNavbar.contains(event.target)) {_											Liferay.Data['nwjbHandle'] = null;__											handle.detach();__											navbarCollapse.removeClass('open');_										}_									}_								);_							}__							navbarCollapse.toggleClass('open');__							Liferay.Data['nwjbHandle'] = handle;_						}_					},_					'.btn-navbar'_				);_			})();(function() {_		Liferay.Icon.register(_			{_				forcePost: false,_				id: '_ctadmin_WAR_contenttargetingweb_lhhz_null_null_menu_permissions'__				__				, useDialog: true_			}_		);_	})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_lhhz_null_null_menu');})();(function() {_		new Liferay.SearchContainer(_			{_				classNameHover: 'hover',_				hover: true,_				id: '_ctadmin_WAR_contenttargetingweb_campaignsSearchContainer',_				rowClassNameAlternate: '',_				rowClassNameAlternateHover: '-hover',_				rowClassNameBody: '',_				rowClassNameBodyHover: ''_			}_		).render();_	})();(function() {	var deleteCampaigns = A.one('#_ctadmin_WAR_contenttargetingweb_deleteCampaigns');__	A.one('#_ctadmin_WAR_contenttargetingweb_campaignsSearchContainerSearchContainer').on(_		'click',_		function() {_			var hide = (Liferay.Util.listCheckedExcept(document._ctadmin_WAR_contenttargetingweb_fmCampaigns, '_ctadmin_WAR_contenttargetingweb_allRowIds').length == 0);__			deleteCampaigns.toggle(!hide);_		},_		'input[type=checkbox]'_	);__	deleteCampaigns.on(_		'click',_		function(event) {_			if (confirm('Esteu segur que voleu eliminar-ho? S'esborrarà immediatament.')) {_				document._ctadmin_WAR_contenttargetingweb_fmCampaigns._ctadmin_WAR_contenttargetingweb_campaignsIds.value = Liferay.Util.listCheckedExcept(document._ctadmin_WAR_contenttargetingweb_fmCampaigns, '_ctadmin_WAR_contenttargetingweb_allRowIds');____				submitForm(document._ctadmin_WAR_contenttargetingweb_fmCampaigns, 'http://wcm-dev.liferay.org.es/ca/group/control_panel/manage?p_auth=WSTAELsM&p_p_id=ctadmin_WAR_contenttargetingweb&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=10184&refererPlid=10187&controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_redirect=http%3A%2F%2Fwcm-dev.liferay.org.es%2Fca%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dctadmin_WAR_contenttargetingweb%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10184%26refererPlid%3D10187%26controlPanelCategory%3Dcurrent_site.configuration%26_ctadmin_WAR_contenttargetingweb_tabs1%3Dcampaigns%26_ctadmin_WAR_contenttargetingweb_mvcPath%3Dhtml%252Fcontent_targeting%252Fview.ftl&_ctadmin_WAR_contenttargetingweb_javax.portlet.action=deleteCampaign');_			}_		}_	);_})();(function() {_	Liferay.Form.register(_		{_			id: '_ctadmin_WAR_contenttargetingweb_fmCampaigns'__			_				, fieldRules: [__					__				]_			__			_		}_	);_})();(function() {	var campaignsPanel = A.one('#_ctadmin_WAR_contenttargetingweb_campaignsPanel');_	var inputNode = A.one('#_ctadmin_WAR_contenttargetingweb_campaignkeywords');__	var search = new Liferay.AjaxContentSearch(_		{_			contentPanel: campaignsPanel,_			inputNode: inputNode,_			resourceURL: 'http://wcm-dev.liferay.org.es/ca/group/control_panel/manage?p_p_id=ctadmin_WAR_contenttargetingweb&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_cacheability=cacheLevelPage&doAsGroupId=10184&refererPlid=10187&controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_tabs1=campaigns&_ctadmin_WAR_contenttargetingweb_mvcPath=html%2Fcontent_targeting%2Fview_campaigns_resources.ftl&_ctadmin_WAR_contenttargetingweb_refererPlid=10187&_ctadmin_WAR_contenttargetingweb_controlPanelCategory=current_site.configuration&_ctadmin_WAR_contenttargetingweb_doAsGroupId=10184',_			namespace: '_ctadmin_WAR_contenttargetingweb_'_		}_	);_})();(function() {Liferay.Menu.register('_ctadmin_WAR_contenttargetingweb_lopw_null_null_menu');})();(function() {_	var togglerDelegate;__	Liferay.component(_		'_160_controlPanelMenuAddContentPanelContainer',_		function() {_			if (!togglerDelegate) {_				togglerDelegate = new A.TogglerDelegate(_					{_						animated: true,_						closeAllOnExpand: true,_						container: '#controlPanelMenuAddContentPanelContainer',_						content: '.toggler-content',_						header: '.toggler-header',_						on: {_							'toggler:expandedChange': function(event) {_								var header = event.target.get('header');__								var persistId = header.getData('persist-id');__								if (persistId && !event.silent) {_									var data = {};__									data[persistId] = event.newVal ? 'open' : 'closed';__									Liferay.Store(data);_								}_							}_						},_						transition: {_							duration: .3_						}_					}_				);_			}__			return togglerDelegate;_		}_	);__	Liferay.component('_160_controlPanelMenuAddContentPanelContainer');_})();(function() {_	Liferay.Util.addInputType();__	Liferay.Portlet.ready(_		function(portletId, node) {_			Liferay.Util.addInputType(node);_		}_	);__	if (A.UA.mobile) {_		Liferay.Util.addInputCancel();_	}_})();(function() {_	new Liferay.Menu();__	var liferayNotices = Liferay.Data.notices;__	for (var i = 1; i < liferayNotices.length; i++) {_		new Liferay.Notice(liferayNotices[i]);_	}__	_		Liferay.Poller.init(_			{_				encryptedUserId: 'XCczUD/jh46juSuYJ4MXZA==',_				supportsComet: false_			}_		);_	_})();(function() {_			Liferay.Session = new Liferay.SessionBase(_				{_					autoExtend: false,_					sessionLength: 30,_					redirectOnExpire: false,_					redirectUrl: 'http\x3a\x2f\x2fwcm-dev\x2eliferay\x2eorg\x2ees\x2fweb\x2fguest',_					warningLength: 1_				}_			);__			_				Liferay.Session.plug(Liferay.SessionDisplay);_			_		})();(function() {Liferay.Menu.register('_145_controlPanelSiteSelector');})();(function() {_				A.Event.defineOutside('touchend');__				var container = A.one('#_145_adminLinks');__				container.one('a').on(_					'gesturemovestart',_					function(event) {_						var currentTarget = event.currentTarget;__						currentTarget.once(_							'gesturemoveend',_							function(event) {_								container.toggleClass('open');__								var menuOpen = container.hasClass('open');__								_									_										var handle = Liferay.Data['_145_adminLinksHandle'];__										if (menuOpen && !handle) {_											var eventOutside = event._event.type;__											if (eventOutside === 'MSPointerUp') {_												eventOutside = 'mouseup';_											}__											eventOutside = eventOutside + 'outside';__											handle = currentTarget.on(_												eventOutside,_												function(event) {_													if (!event.target.ancestor('#_145_adminLinks')) {_														Liferay.Data['_145_adminLinksHandle'] = null;__														handle.detach();__														container.removeClass('open');_													}_												}_											);_										}_										else if (handle) {_											handle.detach();__											handle = null;_										}__										Liferay.Data['_145_adminLinksHandle'] = handle;_									_									_								_							}_						);_					}_				);_			})();(function() {_				A.Event.defineOutside('touchend');__				var container = A.one('#_145_mySites');__				container.one('a').on(_					'gesturemovestart',_					function(event) {_						var currentTarget = event.currentTarget;__						currentTarget.once(_							'gesturemoveend',_							function(event) {_								container.toggleClass('open');__								var menuOpen = container.hasClass('open');__								_									_										var handle = Liferay.Data['_145_mySitesHandle'];__										if (menuOpen && !handle) {_											var eventOutside = event._event.type;__											if (eventOutside === 'MSPointerUp') {_												eventOutside = 'mouseup';_											}__											eventOutside = eventOutside + 'outside';__											handle = currentTarget.on(_												eventOutside,_												function(event) {_													if (!event.target.ancestor('#_145_mySites')) {_														Liferay.Data['_145_mySitesHandle'] = null;__														handle.detach();__														container.removeClass('open');_													}_												}_											);_										}_										else if (handle) {_											handle.detach();__											handle = null;_										}__										Liferay.Data['_145_mySitesHandle'] = handle;_									_									_								_							}_						);_					}_				);_			})();(function() {_				A.Event.defineOutside('touchend');__				var container = A.one('#_145_userAvatar');__				container.one('a').on(_					'gesturemovestart',_					function(event) {_						var currentTarget = event.currentTarget;__						currentTarget.once(_							'gesturemoveend',_							function(event) {_								container.toggleClass('open');__								var menuOpen = container.hasClass('open');__								_									_										var handle = Liferay.Data['_145_userAvatarHandle'];__										if (menuOpen && !handle) {_											var eventOutside = event._event.type;__											if (eventOutside === 'MSPointerUp') {_												eventOutside = 'mouseup';_											}__											eventOutside = eventOutside + 'outside';__											handle = currentTarget.on(_												eventOutside,_												function(event) {_													if (!event.target.ancestor('#_145_userAvatar')) {_														Liferay.Data['_145_userAvatarHandle'] = null;__														handle.detach();__														container.removeClass('open');_													}_												}_											);_										}_										else if (handle) {_											handle.detach();__											handle = null;_										}__										Liferay.Data['_145_userAvatarHandle'] = handle;_									_									_								_							}_						);_					}_				);_			})();(function() {_				A.one('#_145_dockbar').delegate(_					'click',_					function(event) {_						var btnNavbar = event.currentTarget;__						var navId = btnNavbar.attr('data-navId');__						var navbarCollapse = A.one('#' + navId + 'NavbarCollapse');__						if (navbarCollapse) {_							var handle = Liferay.Data['_145_dockbarHandle'];__							if (navbarCollapse.hasClass('open') && handle) {_								handle.detach();__								handle = null;_							}_							else {_								handle = navbarCollapse.on(_									'mousedownoutside',_									function(event) {_										if (!btnNavbar.contains(event.target)) {_											Liferay.Data['_145_dockbarHandle'] = null;__											handle.detach();__											navbarCollapse.removeClass('open');_										}_									}_								);_							}__							navbarCollapse.toggleClass('open');__							Liferay.Data['_145_dockbarHandle'] = handle;_						}_					},_					'.btn-navbar'_				);_			})();});_// ]]>_ [Sanitized]
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package