Skip to content

Commit

Permalink
MDL-56324 assignfeedback_editpdf: Use correct page in save_current_page
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjbutler committed Oct 12, 2016
1 parent 3cd718e commit 88d309d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 88d309d

Please sign in to comment.