mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
refactor(client) ajaxLoad
This commit is contained in:
parent
095f1eb568
commit
8e5b4b8498
1 changed files with 2 additions and 1 deletions
|
|
@ -327,6 +327,7 @@ var Util, DOM, CloudFunc;
|
|||
|
||||
/* Отображаем красивые пути */
|
||||
var lSLASH = '/',
|
||||
title = CloudFunc.getTitle(lCleanPath),
|
||||
lFSPath = decodeURI(pPath),
|
||||
lNOJSPath = Util.removeStr( lFSPath, '?json' ),
|
||||
lCleanPath = Util.removeStrOneTime( lNOJSPath, CloudFunc.FS ) || lSLASH,
|
||||
|
|
@ -341,7 +342,7 @@ var Util, DOM, CloudFunc;
|
|||
if (!pOptions.nohistory)
|
||||
DOM.setHistory(lNOJSPath, null, lNOJSPath);
|
||||
|
||||
DOM.setTitle( CloudFunc.getTitle(lCleanPath) );
|
||||
DOM.setTitle(title);
|
||||
|
||||
/* если доступен localStorage и
|
||||
* в нём есть нужная нам директория -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue