Merge pull request #2159 from OpenRefine/issue-2158-language-setting

Fix UI language change
This commit is contained in:
Antonin Delpeuch 2019-09-18 19:08:03 +01:00 committed by GitHub
commit 18a78dbb4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'));