Commit 79c9f836 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Feature #5347 / Error Message (Exception): hide technical informations, show it on click.

parent 4c39d6c0
......@@ -126,8 +126,12 @@ class AbstractException extends \Exception {
}
}
$debug = '<table class="table table-hover qfq-table-100">' . $debug . "</table>";
// Show / hide with just CSS: http://jsfiddle.net/t5Nf8/1/
$debug .= "<style>input[type=checkbox]:checked + label +p { display: none; }</style>";
$debug .= "<input type='checkbox' checked id='stacktrace'><label for='stacktrace'>&nbsp;Show/hide stacktrace</label><p>$stackTrace</p>";
// Stracktrace
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment