escape find values in url

This commit is contained in:
j 2017-11-16 17:25:52 +01:00
commit 8c25aceb67
6 changed files with 13 additions and 10 deletions

View file

@ -1046,6 +1046,13 @@ pandora.enableDragAndDrop = function($list, canMove, section, getItems) {
};
pandora.escapeQueryValue = function(value) {
return value.replace(/_/g, '%09')
.replace(/\s/g, '_')
.replace(/</g, '%0E')
.replace(/>/g, '%0F');
};
pandora.enterFullscreen = function() {
pandora.$ui.appPanel.size(0, 0);
if (pandora.user.ui.showSidebar) {