mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-22 07:34:16 +00:00
minor changes
This commit is contained in:
parent
30880842f7
commit
43769b0a13
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