issue 1223 fixed

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10153 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-02-21 07:00:31 +00:00
parent db91f58564
commit b965c09897

View file

@ -9,7 +9,7 @@ function content_widget_next(obj,list_per_page){
var total_page = parseInt((list.size()-1) / list_per_page,10)+1;
list.each(function(i){
if(jQuery(this).css('display') !='none'){
page = parseInt((i+1)/list_per_page,10)+1;
page = parseInt(i/list_per_page,10) + 1;
return false;
}
});
@ -34,7 +34,7 @@ function content_widget_prev(obj,list_per_page){
var total_page = parseInt((list.size()-1) / list_per_page,10)+1;
list.each(function(i){
if(jQuery(this).css('display') !='none'){
page = parseInt((i+1)/list_per_page,10)+1;
page = parseInt(i/list_per_page,10)+1;
return false;
}
});