Commit 139776cc authored by Tangui's avatar Tangui
Browse files

Send extra information to allow to detect last page case

parent 99cb6f5b
......@@ -22,7 +22,9 @@ if ($("#formulaire_consultation_publique>.well:nth-of-type(4)>:first-child").pro
$.post("http://dav.li/rip-le-compteur/depot.php", {
consultationId: urlpath[2],
section: urlpath[4],
compteur: compteur
compteur: compteur,
nb_pages: nb_pages,
is_last: is_last
},
function (returnedData) {
console.log(returnedData);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment