Skip to content

Commit c0efb60

Browse files
committed
migrate spring-bootfrom 2 to 3
1 parent 3a5e189 commit c0efb60

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/resources/templates/layout/navbartop.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@
142142
<i class="fas fa-globe"></i><b class="caret"></b>
143143
</a>
144144
<div class="dropdown-menu" aria-labelledby="contextMenu">
145-
<a th:href="@{{url}(lang='de',url=${#request.getRequestURL()})}"
145+
<a th:href="@{/(lang='de')}"
146146
class="dropdown-item lang-switcher-de">
147147
<img class="lang-switcher-img" th:src="@{/img/de.png}"/>deutsch
148148
</a>
149-
<a th:href="@{{url}(lang='en',url=${#request.getRequestURL()})}"
149+
<a th:href="@{/(lang='en')}"
150150
class="dropdown-item lang-switcher-en">
151151
<img class="lang-switcher-img" th:src="@{/img/gb.png}"/>english
152152
</a>

src/main/resources/templates/layout/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@
216216

217217
function dropTask2Task(ev) {
218218
var myUrl = '';
219-
var requestPath = '[(@{{url}(url=${#request.getRequestURI()})})]';
219+
var requestPath = window.location.href;
220220
var requestPathFirst = requestPath.split("/")[1];
221-
var requestPathSecond = requestPath.split("/")[2];
221+
var requestPathSecond = requestPath.split("/")[2];
222222
var srcType = ev.dataTransfer.getData("task").split("_")[0];
223223
var sourceTaskId = ev.dataTransfer.getData("task").split("_")[1];
224224
var destinationTaskIdInfo = ev.target.id;

src/main/resources/templates/layout/task.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<input type="hidden" th:field="*{id}"/>
99
<input type="hidden" th:field="*{uuid}"/>
1010
<input type="hidden" th:field="*{focus}"/>
11-
<input type="hidden" th:field="*{rowCreatedAt.time}"/>
11+
<input type="hidden" th:field="*{rowCreatedAt.toString()}"/>
1212
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
1313
<div class="row">
1414
<div class="col-md">

0 commit comments

Comments
 (0)