Fix change of language. Closes #2158.

This commit is contained in:
Antonin Delpeuch 2019-09-11 17:53:38 +01:00
parent c35b2e154f
commit c078c3a81d
2 changed files with 2 additions and 2 deletions

View File

@ -725,7 +725,7 @@ ListFacet.prototype._setChoiceCountLimit = function(choiceCount) {
"command/core/set-preference",
{
name : "ui.browsing.listFacet.limit",
value : n
value : JSON.stringify(n)
},
function(o) {
if (o.code === "ok") {

View File

@ -34,7 +34,7 @@ Refine.SetLanguageUI = function(elmt) {
async : false,
data : {
name : "userLang",
value : $("#langDD option:selected").val()
value : JSON.stringify($("#langDD option:selected").val())
},
success : function(data) {
alert($.i18n('core-index-lang/page-reload'));