minor changes

This commit is contained in:
coderaiser 2012-07-24 10:37:11 -04:00
parent cbe1c8493e
commit 5e1cd819fb

View file

@ -41,7 +41,11 @@ var CloudClient={
/* название css-класа текущего файла*/
CURRENT_FILE :'current-file',
LIBDIR :'/lib/',
LIBDIRCLIENT :'/lib/client/'
LIBDIRCLIENT :'/lib/client/',
/* height of Cloud Commander
* seting up in init()
*/
HEIGHT :0
};
/*
@ -235,6 +239,7 @@ CloudClient._setCurrent=(function(){
/* устанавливаем курсор на файл,
* на который нажали */
this.className=CloudClient.CURRENT_FILE;
console.log(this.offset);
}
}
/* если мы попали сюда с энтера*/
@ -391,6 +396,8 @@ CloudClient.init=(function()
var lHeight=window.screen.height - (window.screen.height/3).toFixed();
lHeight=(lHeight/100).toFixed()*100;
CloudClient.HEIGHT = lHeight;
CloudClient.cssSet({id:'show_2panels',
element:document.head,
inner:'#left{width:46%;}' +