Webhelp responsive search pagination widget is not localizable
Posted: Wed Mar 20, 2019 11:42 am
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:
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);
Regards,
Rémihttps://www.oxygenxml.com
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);
Regards,
Rémihttps://www.oxygenxml.com