toString if needed

This commit is contained in:
j 2017-12-31 14:59:35 +01:00
parent 6c6b60ffaf
commit b6dcccb230

View file

@ -1047,6 +1047,9 @@ pandora.enableDragAndDrop = function($list, canMove, section, getItems) {
};
pandora.escapeQueryValue = function(value) {
if (!Ox.isString(value)) {
value = value.toString();
}
return value.replace(/_/g, '%09')
.replace(/\s/g, '_')
.replace(/</g, '%0E')