removed replaceSpaces function, in client and server changed to decodeURI and querystring.unescape

This commit is contained in:
coderaiser 2012-07-19 12:11:56 +03:00
parent 585ed427f2
commit 1bb51f3111

View file

@ -32,19 +32,6 @@ CloudFunc.removeLastSlash = function(pPath){
pPath.substr(pPath, pPath.length-1):pPath;
else return pPath;
};
/*
* Функция меняет код символа пробела на пробел
* в переданной строке
* @pPath - строка
*/
CloudFunc.replaceSpaces = function(pPath){
if(pPath.indexOf('%20')>0){
do{
pPath=pPath.replace('%20',' ');
}while(pPath.indexOf('%20')>0);
}
return pPath;
};
/* Функция возвращает заголовок веб страницы */
CloudFunc.setTitle = function(){