"MDL-24533, fixed two page 1 boxes in filepicker, credits to Gerwood Stewart"

This commit is contained in:
Dongsheng Cai 2010-10-06 03:29:19 +00:00
parent 5a91e9ba7e
commit b4b0e5ed2b

View File

@ -1235,7 +1235,7 @@ M.core_filepicker.init = function(Y, options) {
var r = this.active_repo;
var str = '';
var action = '';
if(r.pages) {
if(r.pages > 1) {
str += '<div class="fp-paging" id="paging-'+html_id+'-'+client_id+'">';
str += this.get_page_button(1)+'1</a> ';