webbuild: set codemirror height to 500
This commit is contained in:
parent
72ce4f5115
commit
007b280870
@ -164,11 +164,13 @@ function ajax_getvalues(request,confirm) {
|
|||||||
{
|
{
|
||||||
editor = CodeMirror.fromTextArea(spectext,
|
editor = CodeMirror.fromTextArea(spectext,
|
||||||
{ lineNumbers: true,
|
{ lineNumbers: true,
|
||||||
|
fixedGutter: true,
|
||||||
tabSize: 4,
|
tabSize: 4,
|
||||||
indentUnit: 4,
|
indentUnit: 4,
|
||||||
indentWithTabs: true,
|
indentWithTabs: true,
|
||||||
onChange: function() { editorChanged(); }
|
onChange: function() { editorChanged(); }
|
||||||
});
|
});
|
||||||
|
editor.setSize(null, 500);
|
||||||
} else if ((nodes[i].nodeName == "output") && (document.getElementById("outputbottom") != undefined)) {
|
} else if ((nodes[i].nodeName == "output") && (document.getElementById("outputbottom") != undefined)) {
|
||||||
document.getElementById("outputbottom").scrollTop = document.getElementById("outputbottom").scrollHeight;
|
document.getElementById("outputbottom").scrollTop = document.getElementById("outputbottom").scrollHeight;
|
||||||
} else if ((nodes[i].nodeName == "processes")) {
|
} else if ((nodes[i].nodeName == "processes")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user