]> git.datanom.net - qtadmin.git/blobdiff - js/forms.js
Add change row per page
[qtadmin.git] / 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.028498 seconds and 5 git commands to generate.