mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: fixed closing action on profiler popup (from r94443)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95616 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3aa391afdf
commit
4aa35e8a1a
@ -71,7 +71,7 @@ class Profiler {
|
|||||||
if(!self::$inst) self::$inst = new Profiler(true,true);
|
if(!self::$inst) self::$inst = new Profiler(true,true);
|
||||||
|
|
||||||
echo "<div style=\"position: absolute; z-index: 100000; top: 20px; left: 20px; background-color: white; padding: 20px; border: 1px #AAA solid; height: 80%; overflow: auto;\">";
|
echo "<div style=\"position: absolute; z-index: 100000; top: 20px; left: 20px; background-color: white; padding: 20px; border: 1px #AAA solid; height: 80%; overflow: auto;\">";
|
||||||
echo "<p><a href=\"#\" onclick=\"this.parentNode.style.display = 'none'\">(Click to close)</a></p>";
|
echo "<p><a href=\"#\" onclick=\"this.parentNode.parentNode.style.display = 'none'; return false;\">(Click to close)</a></p>";
|
||||||
self::$inst->printTimers();
|
self::$inst->printTimers();
|
||||||
if($showTrace) self::$inst->printTrace();
|
if($showTrace) self::$inst->printTrace();
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
Loading…
Reference in New Issue
Block a user