summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/ChapterCompletePage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/p4square/grow/frontend/ChapterCompletePage.java')
-rw-r--r--src/com/p4square/grow/frontend/ChapterCompletePage.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/p4square/grow/frontend/ChapterCompletePage.java b/src/com/p4square/grow/frontend/ChapterCompletePage.java
index 221519f..b3896e9 100644
--- a/src/com/p4square/grow/frontend/ChapterCompletePage.java
+++ b/src/com/p4square/grow/frontend/ChapterCompletePage.java
@@ -106,6 +106,11 @@ public class ChapterCompletePage extends FreeMarkerPageResource {
}
}
+ String nextOverride = getQueryValue("next");
+ if (nextOverride != null) {
+ nextChapter = nextOverride;
+ }
+
root.put("stage", mChapter);
root.put("nextstage", nextChapter);