author | Philippe Pepiot <philippe.pepiot@logilab.fr> |
Tue, 17 Oct 2017 11:58:35 +0200 | |
branch | 3.25 |
changeset 12214 | d238badfc268 |
parent 11057 | 0b59724cb3f2 |
permissions | -rw-r--r-- |
// This contains template-specific javascript function filterLog(domid, thresholdLevel) { var logLevels = ["Debug", "Info", "Warning", "Error", "Fatal"] var action = "hide"; for (var idx = 0; idx < logLevels.length; idx++){ var level = logLevels[idx]; if (level === thresholdLevel){ action = "show"; } $('#'+domid+' .log' + level)[action](); } }