mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'MDL-54765-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
df4af29945
@ -4163,7 +4163,7 @@ EDITOR.prototype = {
|
||||
drawingcanvas.setStyle('height', page.height + 'px');
|
||||
|
||||
// Update page select.
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('value', this.currentpage);
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('selectedIndex', this.currentpage);
|
||||
|
||||
this.resize(); // Internally will call 'redraw', after checking the dialogue size.
|
||||
},
|
||||
|
File diff suppressed because one or more lines are too long
@ -4163,7 +4163,7 @@ EDITOR.prototype = {
|
||||
drawingcanvas.setStyle('height', page.height + 'px');
|
||||
|
||||
// Update page select.
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('value', this.currentpage);
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('selectedIndex', this.currentpage);
|
||||
|
||||
this.resize(); // Internally will call 'redraw', after checking the dialogue size.
|
||||
},
|
||||
|
@ -1106,7 +1106,7 @@ EDITOR.prototype = {
|
||||
drawingcanvas.setStyle('height', page.height + 'px');
|
||||
|
||||
// Update page select.
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('value', this.currentpage);
|
||||
this.get_dialogue_element(SELECTOR.PAGESELECT).set('selectedIndex', this.currentpage);
|
||||
|
||||
this.resize(); // Internally will call 'redraw', after checking the dialogue size.
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user