From 7c0bd97698134e003078e55fb758cae513b29041 Mon Sep 17 00:00:00 2001 From: Kamil Date: Sun, 12 May 2024 17:15:33 +0200 Subject: [PATCH] #2878 Fixed change location View Component --- WebContent/WEB-INF/jsp/viewEdit.jsp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WebContent/WEB-INF/jsp/viewEdit.jsp b/WebContent/WEB-INF/jsp/viewEdit.jsp index 7c02610f1e..62cb814b06 100644 --- a/WebContent/WEB-INF/jsp/viewEdit.jsp +++ b/WebContent/WEB-INF/jsp/viewEdit.jsp @@ -255,6 +255,9 @@ lt = lt.substring(0, lt.length-2); tp = tp.substring(0, tp.length-2); + lt = Math.trunc(lt); + tp = Math.trunc(tp); + // Save the new location. ViewDwr.setViewComponentLocation(div.viewComponentId, lt, tp, viewId); }