modified: SRC/public/js/ListeOeuvre.js
This commit is contained in:
parent
95ff2cadcf
commit
ecf963857b
@ -66,10 +66,10 @@ $('#search_button, #previous, #next').click(function(event) {
|
|||||||
|
|
||||||
if (this.id == $('#next').attr('id')) {
|
if (this.id == $('#next').attr('id')) {
|
||||||
str = $("#next").attr('href');
|
str = $("#next").attr('href');
|
||||||
url = "/search?page="+/([0-9]+)/.exec(str)[0];
|
url = "/search?page="+/([0-9]+)/.exec(/page=([0-9]+)/.exec(str)[0])[0];
|
||||||
}else if (this.id == $('#previous').attr('id')) {
|
}else if (this.id == $('#previous').attr('id')) {
|
||||||
str = $("#previous").attr('href');
|
str = $("#previous").attr('href');
|
||||||
url = "/search?page="+/([0-9]+)/.exec(str)[0];
|
url = "/search?page="+/([0-9]+)/.exec(/page=([0-9]+)/.exec(str)[0])[0];
|
||||||
}else {
|
}else {
|
||||||
url = "/search";
|
url = "/search";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user