function updateRowsPerPage() {
var rowsPerPage = document.getElementById("rows");
- var found = false;
var link = document.getElementsByTagName('a');
for (var i = 0; i < link.length; i++) {
var url = link[i].href;
link[i].href = href;
}
}
- if (found == false) {
- /* current page has rows < current rows per page */
- var href = location.href + '?rowsperpage=' + rowsPerPage.value;
- alert(href);
- location.href = href;
- }
+ var href = location.href + '?rowsperpage=' + rowsPerPage.value;
+ location.href = href;
}