mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with height of terminal
This commit is contained in:
parent
5a43d775cf
commit
4fb70bda7f
5 changed files with 12 additions and 8 deletions
|
|
@ -66,6 +66,8 @@ keyStop: function(e, opt) {
|
|||
|
||||
* Improved optimizing size of menu.js from 2539 to 2444.
|
||||
|
||||
* Fixed bug with height of terminal.
|
||||
|
||||
|
||||
2012.12.12, Version 0.1.8
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
"cache" : {"allowed" : false},
|
||||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
"css" : false,
|
||||
"html" : false,
|
||||
"img" : false
|
||||
},
|
||||
"github_key" : "891c251b925e4e967fa9",
|
||||
"github_secret" : "afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545",
|
||||
|
|
|
|||
|
|
@ -818,7 +818,7 @@ var CloudCommander, Util,
|
|||
if( !Util.checkExtension(lName, lExt) )
|
||||
lName += lExt;
|
||||
}
|
||||
|
||||
|
||||
Util.exec(pCallBack, {
|
||||
data: pData,
|
||||
name: lName
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@ var CloudCommander, Util, DOM, $;
|
|||
|
||||
DOM.anyLoadOnLoad([lFiles], function(){
|
||||
console.timeEnd('terminal load');
|
||||
init();
|
||||
|
||||
init();
|
||||
$(function($, undefined) {
|
||||
Term = JqueryTerminal.Term = $('#terminal').terminal(function(command, term){
|
||||
term.echo('');
|
||||
|
|
@ -49,6 +48,10 @@ var CloudCommander, Util, DOM, $;
|
|||
$(window).unbind('resize');
|
||||
|
||||
Util.exec(pCallBack);
|
||||
}).cssSet({id:'terminalStyle',
|
||||
inner: '.cloudTerminal{' +
|
||||
'height: 720px;' +
|
||||
'};'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +63,7 @@ var CloudCommander, Util, DOM, $;
|
|||
TerminalId = DOM.anyload({
|
||||
name : 'div',
|
||||
id : 'terminal',
|
||||
className : 'panel',
|
||||
className : 'panel cloudTerminal',
|
||||
parent : DOM.getFM()
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@
|
|||
mesage: 'Cloud Commander was killed'
|
||||
};
|
||||
send(pParams);
|
||||
|
||||
lResult = null;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue