fix "more" checkbox not staying checked - fixes #417

Sun, 06 Oct 2024 17:39:35 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 06 Oct 2024 17:39:35 +0200
changeset 328
86aea0a1bd1f
parent 327
a7ce68f531c0
child 329
fa7696bafe0d

fix "more" checkbox not staying checked - fixes #417

src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
--- a/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Sun Oct 06 17:35:05 2024 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/servlet/ProjectServlet.kt	Sun Oct 06 17:39:35 2024 +0200
@@ -402,6 +402,7 @@
             }
 
             if (http.param("more") != null) {
+                http.request.setAttribute("more", true)
                 http.renderCommit("${issuesHref}-/create")
             } else if (http.param("save") != null) {
                 http.renderCommit("${issuesHref}${openId}")
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 17:35:05 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 17:39:35 2024 +0200
@@ -32,6 +32,7 @@
     <li>Kritischen Fehler behoben, bei dem das Speichern eines aus der globalen Liste geöffneten Vorgangs
         zum Verlust aller Daten dieses Vorgangs führte.</li>
     <li>Status und Kategorie eines Vorgangs sind nun auch im RSS-Feed korrekt lokalisiert.</li>
+    <li>Fehler behoben, bei dem die Checkbox zum Erstellen weiterer Vorgänge nicht angekreuzt bleibt.</li>
 </ul>
 
 <h3>Version 1.3.0</h3>
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 17:35:05 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 17:39:35 2024 +0200
@@ -31,6 +31,7 @@
     <li>Improve position of buttons for creating new versions or components.</li>
     <li>Fix critical issue where saving an issue from the global list erases all data for that issue.</li>
     <li>Fix missing localization for issue status and category in RSS feed.</li>
+    <li>Fix that the "create more" checkbox does not stay checked.</li>
 </ul>
 
 <h3>Version 1.3.0</h3>

mercurial