toString if needed

This commit is contained in:
j 2017-12-31 14:59:35 +01:00
parent 6c6b60ffaf
commit b6dcccb230
1 changed files with 3 additions and 0 deletions

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')