This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 0d11f4e437 [SYNCOPE-1899] Updating JS method call for CodeMirror 2
0d11f4e437 is described below
commit 0d11f4e437a3dbcd40ad503da6ea5ab3aa1ceafc
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Tue Jul 29 09:02:50 2025 +0200
[SYNCOPE-1899] Updating JS method call for CodeMirror 2
---
.../syncope/client/console/wicket/markup/html/form/JsonEditorPanel.html | 2 +-
.../syncope/client/console/wicket/markup/html/form/TextEditorPanel.html | 2 +-
.../syncope/client/console/wicket/markup/html/form/XMLEditorPanel.html | 2 +-
pom.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/JsonEditorPanel.html
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/JsonEditorPanel.html
index 715c5c98c5..718fd0ad83 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/JsonEditorPanel.html
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/JsonEditorPanel.html
@@ -29,7 +29,7 @@ under the License.
<script type="text/javascript"
src="webjars/codemirror/${codemirror.version}/addon/edit/closebrackets.js"></script>
<script type="text/javascript">
function updateTextArea(editor) {
-
document.getElementById("jsonEditorInfoDefForm").children["jsonEditorInfo"].value
= editor.get();
+
document.getElementById("jsonEditorInfoDefForm").children["jsonEditorInfo"].value
= editor.getValue();
}
</script>
<style>
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/TextEditorPanel.html
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/TextEditorPanel.html
index 57cbe2ac58..3a3af303cf 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/TextEditorPanel.html
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/TextEditorPanel.html
@@ -26,7 +26,7 @@ under the License.
<script type="text/javascript"
src="webjars/codemirror/${codemirror.version}/addon/search/searchcursor.js"></script>
<script type="text/javascript">
function updateTextArea(editor) {
-
document.getElementById("textEditorInfoDefForm").children["textEditorInfo"].value
= editor.get();
+
document.getElementById("textEditorInfoDefForm").children["textEditorInfo"].value
= editor.getValue();
}
</script>
<style>
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.html
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.html
index 1c5705df43..d0e8224216 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.html
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.html
@@ -29,7 +29,7 @@ under the License.
<script type="text/javascript"
src="webjars/codemirror/${codemirror.version}/addon/edit/closebrackets.js"></script>
<script type="text/javascript">
function updateTextArea(editor) {
-
document.getElementById("xmlEditorInfoDefForm").children["xmlEditorInfo"].value
= editor.get();
+
document.getElementById("xmlEditorInfoDefForm").children["xmlEditorInfo"].value
= editor.getValue();
}
</script>
<style>
diff --git a/pom.xml b/pom.xml
index 5a43a2490a..e78915c060 100644
--- a/pom.xml
+++ b/pom.xml
@@ -447,7 +447,7 @@ under the License.
<cas-client.version>4.0.4</cas-client.version>
<swagger-core.version>2.2.34</swagger-core.version>
- <swagger-ui.version>5.26.2</swagger-ui.version>
+ <swagger-ui.version>5.27.0</swagger-ui.version>
<jquery-slimscroll.version>1.3.8</jquery-slimscroll.version>
<jquery-cookie.version>1.4.1-1</jquery-cookie.version>