]> git.datanom.net - qtadmin.git/commitdiff
Finish change row per page
authorMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 22:06:33 +0000 (00:06 +0200)
committerMichael Rasmussen <mir@datanom.net>
Sun, 7 Jun 2015 22:06:33 +0000 (00:06 +0200)
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.03022 seconds and 5 git commands to generate.