mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-31929 minor fixup (the file is plenty, but avoid introducing new ones)
This commit is contained in:
parent
4c31dfd14a
commit
8ebbe295ab
1 changed files with 5 additions and 5 deletions
|
@ -1382,13 +1382,13 @@ M.core_filepicker.init = function(Y, options) {
|
||||||
var r = this.active_repo;
|
var r = this.active_repo;
|
||||||
var str = '';
|
var str = '';
|
||||||
var action = '';
|
var action = '';
|
||||||
var lastpage = r.pages
|
var lastpage = r.pages;
|
||||||
var lastpagetext = r.pages
|
var lastpagetext = r.pages;
|
||||||
if (r.pages == -1) {
|
if (r.pages == -1) {
|
||||||
lastpage = r.page + 1
|
lastpage = r.page + 1;
|
||||||
lastpagetext = M.str.moodle.next
|
lastpagetext = M.str.moodle.next;
|
||||||
}
|
}
|
||||||
if(lastpage > 1) {
|
if (lastpage > 1) {
|
||||||
str += '<div class="fp-paging" id="paging-'+html_id+'-'+client_id+'">';
|
str += '<div class="fp-paging" id="paging-'+html_id+'-'+client_id+'">';
|
||||||
str += this.get_page_button(1)+'1</a> ';
|
str += this.get_page_button(1)+'1</a> ';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue