mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
moved refresh link to span path_icon
This commit is contained in:
parent
0a8f3e156f
commit
d90f566053
2 changed files with 13 additions and 8 deletions
|
|
@ -1144,6 +1144,7 @@ CloudClient._ajaxLoad=function(path, pNeedRefresh)
|
|||
|
||||
CloudClient._createFileTable(lPanel,lJSON);
|
||||
CloudClient._changeLinks(lPanel);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -1161,7 +1162,7 @@ CloudClient._ajaxLoad=function(path, pNeedRefresh)
|
|||
if(!jqXHR.responseText.indexOf('Error:'))
|
||||
return Util.showError(jqXHR);
|
||||
|
||||
CloudClient._createFileTable(lPanel,data);
|
||||
CloudClient._createFileTable(lPanel, data);
|
||||
CloudClient._changeLinks(lPanel);
|
||||
|
||||
/* Сохраняем структуру каталогов в localStorage,
|
||||
|
|
|
|||
|
|
@ -371,14 +371,18 @@ CloudFunc.buildFromJSON=function(pJSON,pKeyBinded)
|
|||
var lNoJS_s=CloudFunc.NOJS;
|
||||
var lFS_s=CloudFunc.FS;
|
||||
|
||||
var lFileTable='<li class=path>'+
|
||||
'<span class="path_icon clear-cache" id=clear-cache title="clear cache (Ctrl+D)"></span>'+
|
||||
'<a href="'+lFS_s+lNoJS_s+lRefreshPath+'">'+
|
||||
var lFileTable =
|
||||
'<li class=path>'+
|
||||
'<span class="path_icon clear-cache"' +
|
||||
'id=clear-cache' +
|
||||
'title="clear cache (Ctrl+D)">' +
|
||||
'</span>'+
|
||||
'<span class="path_icon ' + CloudFunc.REFRESHICON + '"' +
|
||||
' title="refresh (Ctrl+R)">' +
|
||||
'</span>'+
|
||||
'</a>'+
|
||||
'<span>'+lHtmlPath+'</span>'+
|
||||
' title="refresh (Ctrl+R)">' +
|
||||
'<a href="'+lFS_s+lNoJS_s+lRefreshPath+'">' +
|
||||
'</a>' +
|
||||
'</span>' +
|
||||
'<span>' + lHtmlPath + '</span>' +
|
||||
'</li>';
|
||||
|
||||
var fileTableTitles=['name','size','owner','mode'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue