mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fixed bug with show load image on right panel refresh
This commit is contained in:
parent
c0fc5f02a8
commit
588aaca30d
1 changed files with 8 additions and 5 deletions
13
client.js
13
client.js
|
|
@ -444,10 +444,13 @@ CloudClient.Util = (function(){
|
|||
lErrorImage.className = 'icon error hidden';
|
||||
|
||||
var lCurrent;
|
||||
if(pPosition && pPosition.top){
|
||||
lCurrent = lThis.getRefreshButton();
|
||||
if(!lCurrent)
|
||||
lRet_b = false;
|
||||
if(pPosition){
|
||||
if(pPosition.top){
|
||||
lCurrent = lThis.getRefreshButton();
|
||||
if(!lCurrent)
|
||||
lRet_b = false;
|
||||
}else
|
||||
lCurrent = pPosition.parentElement;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -725,7 +728,7 @@ CloudClient._loadDir = (function(pLink,pNeedRefresh){
|
|||
/* показываем гиф загрузки возле пути папки сверху*/
|
||||
/* ctrl+r нажата? */
|
||||
|
||||
Util.Images.showLoad(pNeedRefresh ? { top:true } : null);
|
||||
Util.Images.showLoad(pNeedRefresh ? this : null);
|
||||
|
||||
var lCurrentFile = Util.getCurrentFile();
|
||||
/* получаем имя каталога в котором находимся*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue