minor changes

This commit is contained in:
coderaiser 2013-03-04 08:10:01 -05:00
parent 0f1b54ddb8
commit 0150f35ece

View file

@ -1179,8 +1179,10 @@ var CloudCommander, Util,
DOM.getCurrentPath = function(pCurrentFile){
var lCurrent = pCurrentFile || DOM.getCurrentFile(),
lPath = DOM.getCurrentLink( lCurrent ).href;
/* убираем адрес хоста*/
lPath = Util.removeStr( lPath, [CloudCommander.HOST, CloudFunc.FS] );
lPath = decodeURI(lPath);
/* убираем адрес хоста*/
lPath = Util.removeStr( lPath, [CloudCommander.HOST, CloudFunc.FS] );
return lPath;
};