X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/f3d5584fe7570890f96f74f71c03e5cba5f2b435..7d080341a23c30924f88d847dc24e4b55f198ae5:/js/forms.js diff --git a/js/forms.js b/js/forms.js index f09ed99..1460abd 100644 --- a/js/forms.js +++ b/js/forms.js @@ -25,7 +25,7 @@ function updateRowsPerPage() { } else { base = location.href; } - if (location.href.charAt(location.href.length - 1) == '?') { + if (location.href.charAt(location.href.length) == '?') { href = base + 'rowsperpage=' + rowsPerPage.value; } else { href = base + '?rowsperpage=' + rowsPerPage.value;