-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.1.10
-
None
-
MOODLE_401_STABLE
A student viewing annotated PDF feedback cannot navigate using the next button, but page-selection and previous buttons work.
After some digging it appears that MDL-75898 has caused a regression such that EDITOR.pagecount is not being set, and so the next button is always disabled as EDITOR.currentpage is always greater than 0 (ie EDITOR.pagecount).
I do not fully understand the intricacies, but I think the solution is to add a line to set the pagecount:
if (this.get('readonly') === true) { |
this.pagecount = data.pagecount; |
this.prepare_pages_for_display(data); |
return; |
}
|
At least this worked in my debugging.
See here: line 3796 of mod/assign/feedback/editpdf/yui/src/editor/js/editor.js
Alternatively, should prepare_pages_for_display() set the pagecount?
- duplicates
-
MDL-78886 Next page button not working when viewing Annotated PDF's in Assignment
-
- Closed
-