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
d8a053f670
commit
cdc1a395e7
1 changed files with 6 additions and 6 deletions
|
|
@ -528,17 +528,17 @@ CloudCmd._ajaxLoad = function(pPath, pOptions){
|
|||
pOptions = {};
|
||||
|
||||
/* Отображаем красивые пути */
|
||||
var lFSPath = decodeURI(pPath);
|
||||
|
||||
lFSPath = Util.removeStr( lFSPath, CloudFunc.NOJS );
|
||||
pPath = Util.removeStr( lFSPath, '?json' );
|
||||
var lCleanPath = Util.removeStr( pPath, CloudFunc.FS ) || '/';
|
||||
var lFSPath = decodeURI(pPath),
|
||||
lNOJSPath = Util.removeStr( lFSPath, '?json' ),
|
||||
lCleanPath = Util.removeStr( lNOJSPath, CloudFunc.FS ) || '/';
|
||||
|
||||
Util.log ('reading dir: "' + lCleanPath + '";');
|
||||
|
||||
|
||||
if(!pOptions.nohistory){
|
||||
pPath = lCleanPath === '/' ? '/' : pPath;
|
||||
DOM.setHistory(pPath, null, pPath);
|
||||
lNOJSPath = lCleanPath === '/' ? '/' : lNOJSPath;
|
||||
DOM.setHistory(lNOJSPath, null, lNOJSPath);
|
||||
}
|
||||
|
||||
DOM.setTitle( CloudFunc.getTitle(lCleanPath) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue