mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
1e3026f9b6
commit
1db78587fa
2 changed files with 9 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ Cloud Commander [,
|
||||
[cloudfoundry] (http://cloudcmd.cloudfoundry.com "cloudfoundry"),
|
||||
[cloudfoundry] (http://cloudcmd.cloudfoundry.com "cloudfoundry"),
|
||||
[appfog] (http://cloudcmd.aws.af.cm "appfog"),
|
||||
[nodester](http://cloudcmd.nodester.com/ "nodester").
|
||||
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ var CloudCommander, $, Util, DOM;
|
|||
else return Util.exec(pFunc_a);
|
||||
};
|
||||
|
||||
DOM.anyLoadOnLoad = function(pParams_a, pFunc){
|
||||
DOM.anyLoadOnLoad = function(pParams_a, pFunc){
|
||||
if( Util.isArray(pParams_a) ) {
|
||||
var lParam = pParams_a.pop();
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ var CloudCommander, $, Util, DOM;
|
|||
if(lParam && !lParam.func){
|
||||
lParam.func = function(){
|
||||
DOM.anyLoadOnLoad(pParams_a, pFunc);
|
||||
};
|
||||
};
|
||||
|
||||
DOM.anyload(lParam);
|
||||
|
||||
|
|
@ -294,13 +294,13 @@ var CloudCommander, $, Util, DOM;
|
|||
if(pParams_o.style){
|
||||
element.style.cssText = pParams_o.style;
|
||||
}
|
||||
|
||||
|
||||
if(lAsync || lAsync === undefined)
|
||||
element.async = true;
|
||||
|
||||
if(!lNotAppend)
|
||||
(lParent || document.body).appendChild(element);
|
||||
|
||||
|
||||
if(lInner){
|
||||
element.innerHTML = lInner;
|
||||
}
|
||||
|
|
@ -443,7 +443,7 @@ var CloudCommander, $, Util, DOM;
|
|||
|
||||
DOM.hide(ErrorImage);
|
||||
|
||||
var lCurrent;
|
||||
var lCurrent;
|
||||
if(pPosition){
|
||||
if(pPosition.top){
|
||||
lCurrent = DOM.getRefreshButton();
|
||||
|
|
@ -453,8 +453,7 @@ var CloudCommander, $, Util, DOM;
|
|||
lRet_b = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
else{
|
||||
lCurrent = DOM.getCurrentFile();
|
||||
lCurrent = lCurrent.firstChild.nextSibling;
|
||||
}
|
||||
|
|
@ -475,7 +474,7 @@ var CloudCommander, $, Util, DOM;
|
|||
|
||||
return lRet_b;
|
||||
},
|
||||
|
||||
|
||||
hideLoad : function(){
|
||||
LoadingImage = Images_o.loading();
|
||||
DOM.hide(LoadingImage);
|
||||
|
|
@ -526,7 +525,7 @@ var CloudCommander, $, Util, DOM;
|
|||
return lCurrent;
|
||||
};
|
||||
|
||||
DOM.getRefreshButton = function(){
|
||||
DOM.getRefreshButton = function(){
|
||||
var lPanel = DOM.getPanel(),
|
||||
lRefresh = DOM.getByClass(CloudFunc.REFRESHICON, lPanel);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue