mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Merge branch 'MDL-78886-main' of https://github.com/mwehr/moodle
This commit is contained in:
commit
cfcef9f2f6
@ -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++) {
|
||||
|
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user