META-INF.resources.configuration.view.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.layout.locked.layouts.web
Show all versions of com.liferay.layout.locked.layouts.web
Liferay Layout Locked Layouts Web
The newest version!
<%--
/**
* SPDX-FileCopyrightText: (c) 2023 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" %>
<%
LockedLayoutsConfigurationDisplayContext lockedLayoutsConfigurationDisplayContext = (LockedLayoutsConfigurationDisplayContext)request.getAttribute(LockedLayoutsConfigurationDisplayContext.class.getName());
%>
1
99999
const numericInput = document.getElementById(
' autosaveMinutes'
);
if (numericInput) {
const keysNotAllowed = new Set(['e', '-']);
numericInput.addEventListener('keydown', (event) => {
if (keysNotAllowed.has(event.key)) {
event.preventDefault();
}
});
}