mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
bfc34da314
commit
607a6fb397
2 changed files with 8 additions and 9 deletions
11
client.js
11
client.js
|
|
@ -444,14 +444,15 @@ CloudClient.Util = (function(){
|
|||
lErrorImage.className = 'icon error hidden';
|
||||
|
||||
var lCurrent;
|
||||
if(pPosition && pPosition.top){
|
||||
lCurrent = this.getRefreshButton();
|
||||
if(!lCurrent) lRet_b = false;
|
||||
if(pPosition && pPosition.top){
|
||||
lCurrent = lThis.getRefreshButton();
|
||||
if(!lCurrent)
|
||||
lRet_b = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
lCurrent = lThis.getCurrentFile();
|
||||
lCurrent = lCurrent.firstChild.nextSibling;
|
||||
lCurrent = lThis.getCurrentFile();
|
||||
lCurrent = lCurrent.firstChild.nextSibling;
|
||||
}
|
||||
|
||||
/* show loading icon
|
||||
|
|
|
|||
|
|
@ -296,15 +296,13 @@ CloudCommander.keyBinding = (function(){
|
|||
/* получаем название файла*/
|
||||
var lSelectedName = lCurrentFile
|
||||
.getElementsByTagName('a')[0].textContent;
|
||||
|
||||
/* если нашли элемент нажимаем него
|
||||
* а если не можем - нажимаем на
|
||||
* ссылку, на которую повешен eventHandler
|
||||
* onclick
|
||||
*/
|
||||
//if(lRefreshIcon.click)
|
||||
// lRefreshIcon.parentElement.click();
|
||||
//else
|
||||
lRefreshIcon.onclick();
|
||||
lRefreshIcon.onclick();
|
||||
|
||||
CloudCommander._currentToParent(lSelectedName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue