mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
removed replaceSpaces function, in client and server changed to decodeURI and querystring.unescape
This commit is contained in:
parent
585ed427f2
commit
1bb51f3111
1 changed files with 0 additions and 13 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue