From d90f566053a9b62412637229e99051ea6b3232ef Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 16 Aug 2012 06:11:22 -0400 Subject: [PATCH] moved refresh link to span path_icon --- client.js | 3 ++- lib/cloudfunc.js | 18 +++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/client.js b/client.js index b1e89ebb..52a0de51 100644 --- a/client.js +++ b/client.js @@ -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, diff --git a/lib/cloudfunc.js b/lib/cloudfunc.js index a1e0dada..a8dee8d8 100644 --- a/lib/cloudfunc.js +++ b/lib/cloudfunc.js @@ -371,14 +371,18 @@ CloudFunc.buildFromJSON=function(pJSON,pKeyBinded) var lNoJS_s=CloudFunc.NOJS; var lFS_s=CloudFunc.FS; - var lFileTable='
  • '+ - ''+ - ''+ + var lFileTable = + '
  • '+ + '' + + ''+ '' + - ''+ - ''+ - ''+lHtmlPath+''+ + ' title="refresh (Ctrl+R)">' + + '' + + '' + + '' + + '' + lHtmlPath + '' + '
  • '; var fileTableTitles=['name','size','owner','mode'];