Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
e12c3fcb
Commit
e12c3fcb
authored
Nov 02, 2023
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/js-drone: fix log printing in GUI
Fix logs printed out of the logging area
parent
54a2a0e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
software/js-drone/buildout.hash.cfg
software/js-drone/buildout.hash.cfg
+1
-1
software/js-drone/web-gui/script.js.jinja2
software/js-drone/web-gui/script.js.jinja2
+3
-5
No files found.
software/js-drone/buildout.hash.cfg
View file @
e12c3fcb
...
...
@@ -38,7 +38,7 @@ md5sum = 1555496ad591a31a845f33488d5c335d
[script-js]
_update_hash_filename_ = web-gui/script.js.jinja2
md5sum =
24ed6ce534feab8bbb93f06246275e89
md5sum =
9a5e44ae134697abb5b257ef9cb5b22a
[worker]
_update_hash_filename_ = drone-scripts/worker.js.jinja2
...
...
software/js-drone/web-gui/script.js.jinja2
View file @
e12c3fcb
...
...
@@ -132,12 +132,10 @@
new_div.appendChild(new_span);
}
if (prompt.children.length === PROMPT_MAX_MSG) {
setTimeout(function() {
prompt.removeChild(prompt.firstElementChild);
}, 0);
}
setTimeout(function() {
if (prompt.children.length === PROMPT_MAX_MSG) {
prompt.removeChild(prompt.firstElementChild);
}
prompt.appendChild(new_div);
}, 0);
} else {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment