![]() |
|
Snippets |
|
If you want to hide the Web Debug Details/Menus but also want to have quick access when you need it.
Then this could help you. Just copy this in a js file or print it in your layout:
/* * HIDE WEB DEBUG DETAILS ON LAUNCH */ Event.observe(window, 'load', function(){ // check if web debug is on if ($('sfWebDebugBar')) sfWebDebugToggleMenu(); });