toString if needed
This commit is contained in:
parent
6c6b60ffaf
commit
b6dcccb230
1 changed files with 3 additions and 0 deletions
|
@ -1047,6 +1047,9 @@ pandora.enableDragAndDrop = function($list, canMove, section, getItems) {
|
||||||
};
|
};
|
||||||
|
|
||||||
pandora.escapeQueryValue = function(value) {
|
pandora.escapeQueryValue = function(value) {
|
||||||
|
if (!Ox.isString(value)) {
|
||||||
|
value = value.toString();
|
||||||
|
}
|
||||||
return value.replace(/_/g, '%09')
|
return value.replace(/_/g, '%09')
|
||||||
.replace(/\s/g, '_')
|
.replace(/\s/g, '_')
|
||||||
.replace(/</g, '%0E')
|
.replace(/</g, '%0E')
|
||||||
|
|
Loading…
Reference in a new issue