Merge branch 'MDL-78886-404' of https://github.com/mwehr/moodle into MOODLE_404_STABLE

This commit is contained in:
Sara Arjona
2025-04-14 17:50:27 +02:00
4 changed files with 4 additions and 4 deletions
@@ -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++) {
File diff suppressed because one or more lines are too long
@@ -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++) {
+1 -1
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++) {