MDL-56324 assignfeedback_editpdf: Use correct page in save_current_page
This commit is contained in:
+3
@@ -4078,8 +4078,11 @@ EDITOR.prototype = {
|
||||
*/
|
||||
save_current_page: function() {
|
||||
var ajaxurl = AJAXBASE,
|
||||
pageselect = this.get_dialogue_element(SELECTOR.PAGESELECT),
|
||||
config;
|
||||
|
||||
this.currentpage = parseInt(pageselect.get('value'), 10);
|
||||
|
||||
config = {
|
||||
method: 'post',
|
||||
context: this,
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
+3
@@ -4078,8 +4078,11 @@ EDITOR.prototype = {
|
||||
*/
|
||||
save_current_page: function() {
|
||||
var ajaxurl = AJAXBASE,
|
||||
pageselect = this.get_dialogue_element(SELECTOR.PAGESELECT),
|
||||
config;
|
||||
|
||||
this.currentpage = parseInt(pageselect.get('value'), 10);
|
||||
|
||||
config = {
|
||||
method: 'post',
|
||||
context: this,
|
||||
|
||||
@@ -987,8 +987,11 @@ EDITOR.prototype = {
|
||||
*/
|
||||
save_current_page: function() {
|
||||
var ajaxurl = AJAXBASE,
|
||||
pageselect = this.get_dialogue_element(SELECTOR.PAGESELECT),
|
||||
config;
|
||||
|
||||
this.currentpage = parseInt(pageselect.get('value'), 10);
|
||||
|
||||
config = {
|
||||
method: 'post',
|
||||
context: this,
|
||||
|
||||
Reference in New Issue
Block a user