mootools/mootools-more — pull request #1051 by DrHofman (2011-10-15 04:59:03+00:00)
Title: HtmlTable method: empty fails on empty table

Calling myTable.empty(); on an already empty HtmlTable you get this error

```Uncaught TypeError: Cannot call method 'isDisplayed' of undefined```

tracked it to the selectRange function for loop

```
for (var i = startRow; i <= endRow; i++){
if (this.options.selectHiddenRows || rows[i].isDisplayed()) this[method](rows[i], true);
}
```

This commit addresses the issue...

All the best
Daniel