]> git.datanom.net - qtadmin.git/commitdiff
Add change row per page
authorMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 18:19:00 +0000 (20:19 +0200)
committerMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 18:19:00 +0000 (20:19 +0200)
js/forms.js

index 67123afc4e853df095060cbbe72ec539990b4054..ec2720ffca6868511942e13453ec06f2284da855 100644 (file)
@@ -17,8 +17,8 @@ function updateRowsPerPage() {
     if (found == false) {
         /* current page has rows < current rows per page */
         var href = location.href;
-        href = 'index.php?rowsperpage=' + rowsPerPage.value;
+        href = encodeURI('index.php?rowsperpage=' + rowsPerPage.value);
         alert(href);
-        window.location = href;
+        location.href = href;
     }
 }
This page took 0.030338 seconds and 5 git commands to generate.