projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b15b520
)
Slow global logs if per-module are not available
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 18 Nov 2007 23:15:35 +0000
(23:15 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 18 Nov 2007 23:15:35 +0000
(23:15 +0000)
blue-theme/left.cgi
patch
|
blob
|
history
diff --git
a/blue-theme/left.cgi
b/blue-theme/left.cgi
index
4d8ccc1
..
d6eb312
100755
(executable)
--- a/
blue-theme/left.cgi
+++ b/
blue-theme/left.cgi
@@
-48,11
+48,13
@@
function show_logs() {
}
}
}
-if (mod) {
+if (mod && mod.indexOf('.cgi') <= 0) {
+ // Show one module's logs
window.parent.frames[1].location = 'webminlog/search.cgi?tall=4&uall=1&fall=1&mall=0&module='+mod;
}
else {
- alert('No Webmin module is selected to show logs for');
+ // Show all logs
+ window.parent.frames[1].location = 'webminlog/search.cgi?tall=4&uall=1&fall=1&mall=0&mall=1'
}
}
</script>