Skip to content

Commit 2ac4560

Browse files
added change log
1 parent db33aae commit 2ac4560

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ For each PR made, an entry should be added to this changelog. It should contain
3535
- Defined a class `HTMLFreeCharField` which inherits `serializers.CharField`
3636
- Used regex to catch any HTML content comming in as an input to form fields
3737
- Called this class within the serializer for necessary fields
38+
39+
- 3228-bugfix-preserve-scroll-position--document-type-selection-behavior-on-individual-urls
40+
- Description: Upon selecting a document type on any individual URL, the page refreshes and returns to the top. This is not necessarily a bug but an inconvenience, especially when working at the bottom of the page. Fix the JS code.
41+
- Changes:
42+
- Added a constant `scrollPosition` within `postDocumentTypePatterns` to store the y coordinate postion on the page
43+
- Modified the ajax relaod to navigate to this position upon posting/saving the document type changes.

0 commit comments

Comments
 (0)