Fix change of language. Closes #2158.
This commit is contained in:
parent
c35b2e154f
commit
c078c3a81d
@ -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") {
|
||||
|
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user