Commit d8167f4a authored by Clément Damiens's avatar Clément Damiens

fix adminb reference table

parent 442ac625
......@@ -156,17 +156,20 @@ function initMenuReference(){
$(".sourceFilter").off().on("click", function(){
searchAdmin.mode="source";
searchAdmin.page=0;
searchAdmin.text=null;
startAdminSearch(true);
});
$(".referenceFilter").off().on("click", function(){
searchAdmin.mode="reference";
searchAdmin.page=0;
searchAdmin.text=null;
startAdminSearch(true);
});
$(".searchOpenFilter").off().on("click", function(){
searchAdmin.mode="open";
searchAdmin.page=0;
searchAdmin.text=null;
startAdminSearch(true);
});
}
......@@ -178,14 +181,11 @@ function initPageTable(number){
currentPage: 1,
hrefTextPrefix:"?page=",
cssStyle: 'light-theme',
//prevText: '<span aria-hidden="true">&laquo;</span>',
//nextText: '<span aria-hidden="true">&raquo;</span>',
onInit: function () {
// fire first page loading
},
onPageClick: function (page, evt) {
// some code
//alert(page);
searchAdmin.page=(page-1);
startAdminSearch();
}
......
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