mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
0f1b54ddb8
commit
0150f35ece
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue