From 796fb317fdfe7db9f3f267a8c8f98b0b11c222ce Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Sun, 7 Jun 2015 20:33:18 +0200 Subject: [PATCH] Add change row per page --- js/forms.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/forms.js b/js/forms.js index 84b00d1..2d7c360 100644 --- a/js/forms.js +++ b/js/forms.js @@ -16,8 +16,7 @@ function updateRowsPerPage() { } if (found == false) { /* current page has rows < current rows per page */ - var href = location.href; - href = 'index.php?page=1&rowsperpage=' + rowsPerPage.value; + var href = 'index.php?page=1&rowsperpage=' + rowsPerPage.value; alert(href); window.open(href, '_self'); } -- 2.39.5