This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch 4_0_X in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_0_X by this push: new 975820b29e [SYNCOPE-1899] Updating JS method call for CodeMirror 2 975820b29e is described below commit 975820b29eabd1a575ea1d102ea165eb0f33bbdc Author: Francesco Chicchiriccò <ilgro...@apache.org> 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 f685386c9f..d8b2873915 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>