mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
added functions DOM.addKeyListener and Util.loadOnLoad
This commit is contained in:
parent
640197a52e
commit
b830010283
11 changed files with 205 additions and 196 deletions
14
client.js
14
client.js
|
|
@ -50,7 +50,12 @@ var CloudClient = {
|
|||
*/
|
||||
HEIGHT : 0,
|
||||
MIN_ONE_PANEL_WIDTH : 1155,
|
||||
OLD_BROWSER : false
|
||||
OLD_BROWSER : false,
|
||||
|
||||
HOST : (function(){
|
||||
var lLocation = document.location;
|
||||
return lLocation.protocol + '//' + lLocation.host;
|
||||
})()
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -586,10 +591,9 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
}while(lTag !== 'LI');
|
||||
|
||||
DOM.setCurrentFile(pElement);
|
||||
};
|
||||
|
||||
var lLocation = document.location,
|
||||
lUrl = lLocation.protocol + '//' + lLocation.host;
|
||||
},
|
||||
|
||||
lUrl = cloudcmd.HOST;
|
||||
|
||||
for(var i = 0, n = a.length; i < n ; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue