Just out of curiosity, are the newlines between command strings generated by get_js_commands required? It appears that when the final string is passed into json_serialize they're turned back into '\n' before being sent which seems to make them somewhat unnecessary. They might as well just be a single space, or even nothing if you want to be efficient.
-Brad
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On 21.10.2010 09:13, Brandon Davidson wrote:
Just out of curiosity, are the newlines between command strings generated by get_js_commands required? It appears that when the final string is passed into json_serialize they're turned back into '\n' before being sent which seems to make them somewhat unnecessary. They might as well just be a single space, or even nothing if you want to be efficient.
These are for better look of response in browser console. Maybe we could skip them when devel_mode=false and debug_level doesn't include an 8 (trace).