X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2FJavaScript%2FListActions.js;h=3920de2c05b01ced9c38450bbbe391985b5c3b85;hb=dddc679d2bee64978cc936d70d6c05ae88969232;hp=7918f466c654e266c1820664bf6aacb3913207b4;hpb=020a4a5ea2be725b155cae3a2cadc9aba3911b9b;p=clearscm.git diff --git a/maps/JavaScript/ListActions.js b/maps/JavaScript/ListActions.js index 7918f46..3920de2 100644 --- a/maps/JavaScript/ListActions.js +++ b/maps/JavaScript/ListActions.js @@ -127,6 +127,6 @@ function CheckEntry (form) { } // CheckEntry function ChangePage (page, type, lines) { - window.location = "/maps/php/list.php" + "?type=" + type + "&next=" + page * lines; + window.location = "/maps/php/list.php" + "?type=" + type + "&next=" + (page - 1) * lines; } // ChangePage