mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(listeners) pop: ajaxLoad -> CloudCmd.ajaxLoad
This commit is contained in:
parent
2effa50a76
commit
0336677d9c
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
DOM.Images.showLoad(pNeedRefresh ? {top:true} : null);
|
||||
|
||||
/* загружаем содержимое каталога */
|
||||
ajaxLoad(lLink, { refresh: pNeedRefresh });
|
||||
CloudCmd.ajaxLoad(lLink, { refresh: pNeedRefresh });
|
||||
}
|
||||
|
||||
DOM.preventDefault(pEvent);
|
||||
|
|
@ -338,7 +338,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
* @param pOptions
|
||||
* { refresh, nohistory } - необходимость обновить данные о каталоге
|
||||
*/
|
||||
function ajaxLoad(pPath, pOptions){
|
||||
CloudCmd.ajaxLoad = function(pPath, pOptions){
|
||||
if(!pOptions)
|
||||
pOptions = {};
|
||||
|
||||
|
|
|
|||
|
|
@ -282,7 +282,7 @@ var Util, DOM, CloudCmd;
|
|||
|
||||
if (pEvent.state) {
|
||||
lPath = pEvent.state + '?json';
|
||||
ajaxLoad(lPath, {nohistory: true});
|
||||
CloudCmd.ajaxLoad(lPath, {nohistory: true});
|
||||
} else
|
||||
CloudCmd.route(location.hash);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue