All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.edit_article.jsp Maven / Gradle / Ivy

The newest version!
<%--
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */
--%>

<%@ include file="/init.jsp" %>

<%
JournalArticle article = journalDisplayContext.getArticle();

JournalEditArticleDisplayContext journalEditArticleDisplayContext = (JournalEditArticleDisplayContext)request.getAttribute(JournalEditArticleDisplayContext.class.getName());

journalEditArticleDisplayContext.setViewAttributes();
%>


	
		
			
				
			

			
		

		
	





	
	



	



	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

	

	
" class="contextual-sidebar edit-article-sidebar sidebar-light sidebar-sm" id="contextualSidebarContainer" role="tabpanel" tabindex="-1">
<%@ include file="/edit_article_exceptions.jspf" %>
let edited = false; function handleBlurDescription() { if (!Liferay.FeatureFlags['LPD-11228']) { return; } if (edited) { Liferay.fire('journal:unlock'); const label = document.querySelector( 'label[for="descriptionMapAsXML"]' ).textContent; Liferay.fire('journal:storeState', { fieldName: Liferay.Language.get('edit') + ' ' + label.trim(), }); edited = false; } } function handleChangeDescription() { if (!Liferay.FeatureFlags['LPD-11228']) { return; } const isUserInEditor = !!document.activeElement.closest('.ck-editor'); if (isUserInEditor) { if (!edited) { Liferay.fire('journal:lock'); } edited = true; } }
<%@ include file="/article_content.jspf" %>
<%@ include file="/friendly_url_changed_message.jspf" %>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy