moved refresh link to span path_icon

This commit is contained in:
coderaiser 2012-08-16 06:11:22 -04:00
parent 0a8f3e156f
commit d90f566053
2 changed files with 13 additions and 8 deletions

View file

@ -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,

View file

@ -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'];