]> git.datanom.net - qtadmin.git/blobdiff - js/forms.js
Finish change row per page
[qtadmin.git] / js / forms.js
index f09ed997a031a646769e7a09b6e08a1cb45472f8..1460abd6380e13130af6ce4f4b9315b51e854615 100644 (file)
@@ -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;
This page took 0.034924 seconds and 5 git commands to generate.