Skip to content

Commit

Permalink
update for mootools 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfedr committed Apr 19, 2011
1 parent 3b8c769 commit 594dcf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/HtmlTable.Paginate.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ HtmlTable = Class.refactor(HtmlTable, {
},

updatePaginationControl: function(){
if($defined((this.options.controlDiv))){
if((this.options.controlDiv) != undefined){
this.options.controlDiv.empty();
if($defined(this.body.rows)){
if(this.body.rows != undefined){
var numOfRows = this.body.rows.length;
if(numOfRows>0){
var numOfPages = Math.ceil(numOfRows/this.options.paginateRows);
Expand Down

0 comments on commit 594dcf0

Please sign in to comment.