Webhelp responsive search pagination widget is not localizable
Posted: Thu May 31, 2018 6:48 pm
Hi,
The search result page pagination widget of the webhelp plugin (v20) has the text of the "Next" and "Previous" buttons hard-coded in the Javascript search.js file. Could you open a defect to extract the text into the localization files.
In the meantime, a fix would be appreciated.
Here is the code extract for reference:
Regards,
Rémi
The search result page pagination widget of the webhelp plugin (v20) has the text of the "Next" and "Previous" buttons hard-coded in the Javascript search.js file. Could you open a defect to extract the text into the localization files.
In the meantime, a fix would be appreciated.
Here is the code extract for reference:
Code: Select all
$('#wh-search-pagination').bootpag({
total: totalPageNumber, // total pages
page: pageToShow, // default page
maxVisible: 10, // visible pagination
leaps: true, // next/prev leaps through maxVisible
next: 'Next',
prev: 'Previous'
}).on("page", function(event, num){
util.debug("Display page with number: ", num);
Rémi