Fix type error in forms

pull/1/head
yflory 3 years ago
parent 59b407c913
commit 20b0b4b9b2

@ -1734,7 +1734,8 @@ define([
},
getCursor: function () { return cursorGetter(); },
setValue: function (val) {
var toSort = (val || []).map(function (val) {
if (!Array.isArray(val)) { val = []; }
var toSort = val.map(function (val) {
return invMap[val];
});
sortable.sort(toSort);

Loading…
Cancel
Save