MDL-31929 minor fixup (the file is plenty, but avoid introducing new ones)

This commit is contained in:
Eloy Lafuente (stronk7) 2012-03-13 22:54:48 +01:00
parent 4c31dfd14a
commit 8ebbe295ab

View file

@ -1382,11 +1382,11 @@ M.core_filepicker.init = function(Y, options) {
var r = this.active_repo;
var str = '';
var action = '';
var lastpage = r.pages
var lastpagetext = r.pages
var lastpage = r.pages;
var lastpagetext = r.pages;
if (r.pages == -1) {
lastpage = r.page + 1
lastpagetext = M.str.moodle.next
lastpage = r.page + 1;
lastpagetext = M.str.moodle.next;
}
if (lastpage > 1) {
str += '<div class="fp-paging" id="paging-'+html_id+'-'+client_id+'">';