Merge branch 'MDL-78886-main' of https://github.com/mwehr/moodle

This commit is contained in:
Sara Arjona 2025-04-14 17:49:57 +02:00
commit cfcef9f2f6
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -3810,7 +3810,6 @@ EDITOR.prototype = {
} else if (data.status === 2 || data.status === -1) {
// The combined PDF is ready.
// We now know the page count and can convert it to a set of images.
this.pagecount = data.pagecount;
if (data.pageready == data.pagecount) {
this.prepare_pages_for_display(data);
@ -3934,6 +3933,7 @@ EDITOR.prototype = {
return;
}
this.pagecount = data.pagecount;
this.pages = data.pages;
for (i = 0; i < this.pages.length; i++) {

View File

@ -3810,7 +3810,6 @@ EDITOR.prototype = {
} else if (data.status === 2 || data.status === -1) {
// The combined PDF is ready.
// We now know the page count and can convert it to a set of images.
this.pagecount = data.pagecount;
if (data.pageready == data.pagecount) {
this.prepare_pages_for_display(data);
@ -3934,6 +3933,7 @@ EDITOR.prototype = {
return;
}
this.pagecount = data.pagecount;
this.pages = data.pages;
for (i = 0; i < this.pages.length; i++) {

View File

@ -513,7 +513,6 @@ EDITOR.prototype = {
} else if (data.status === 2 || data.status === -1) {
// The combined PDF is ready.
// We now know the page count and can convert it to a set of images.
this.pagecount = data.pagecount;
if (data.pageready == data.pagecount) {
this.prepare_pages_for_display(data);
@ -637,6 +636,7 @@ EDITOR.prototype = {
return;
}
this.pagecount = data.pagecount;
this.pages = data.pages;
for (i = 0; i < this.pages.length; i++) {