mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
fix(client) ajaxLoad: mv rmStr FS to js-path-link
This commit is contained in:
parent
11d6fa7cbe
commit
8fe8ba6bf1
2 changed files with 10 additions and 12 deletions
|
|
@ -1,11 +1,11 @@
|
|||
var Util, DOM, CloudCmd;
|
||||
var Util, DOM, CloudFunc, CloudCmd;
|
||||
|
||||
(function (Util, DOM) {
|
||||
(function (Util, DOM, CloudFunc, CloudCmd) {
|
||||
'use strict';
|
||||
|
||||
CloudCmd.Listeners = new ListenersProto(CloudCmd, Util, DOM);
|
||||
CloudCmd.Listeners = new ListenersProto(Util, DOM, CloudFunc, CloudCmd);
|
||||
|
||||
function ListenersProto(CloudCmd, Util, DOM) {
|
||||
function ListenersProto(Util, DOM, CloudFunc, CloudCmd) {
|
||||
var Info = DOM.CurrentInfo,
|
||||
Storage = DOM.Storage,
|
||||
Events = DOM.Events,
|
||||
|
|
@ -113,6 +113,7 @@ var Util, DOM, CloudCmd;
|
|||
*/
|
||||
link = Util.replaceStr(link, '%%', '%25%');
|
||||
link = decodeURI(link);
|
||||
link = Util.rmStrOnce(link, CloudFunc.FS) || '/';
|
||||
|
||||
CloudCmd.loadDir({
|
||||
path : link,
|
||||
|
|
@ -363,4 +364,4 @@ var Util, DOM, CloudCmd;
|
|||
|
||||
}
|
||||
|
||||
})(Util, DOM);
|
||||
})(Util, DOM, CloudFunc, CloudCmd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue