57e25e877aec881598ffe30726fc5c59f86b77c8

Author: José Lorenzo Rodríguez

Date: 2009-08-11 10:05:49 -0430

Making Firephp panels collapsed by default as they tend to become unreadable while doing many ajax requests

diff --git a/vendors/fire_cake.php b/vendors/fire_cake.php index fd97324..d3faaaa 100644 --- a/vendors/fire_cake.php +++ b/vendors/fire_cake.php @@ -363,7 +363,9 @@ class FireCake extends Object { $_this->_sendHeader('X-Wf-Protocol-1', 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2'); $_this->_sendHeader('X-Wf-1-Plugin-1', 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'. $_this->_version); - + if ($type == $_this->_levels['groupStart']) { + $meta['Collapsed'] = 'true'; + } if ($type == $_this->_levels['dump']) { $dump = $_this->jsonEncode($message); $msg = '{"' . $label .'":' . $dump .'}';