Skip to main content
Corrected Title.
Link
Ian Pitts
  • 563
  • 2
  • 10

Global Variables Not Rendering Database Queries in Focus Lab ee-master-configOutput Profiler Won't Display

Source Link
Ian Pitts
  • 563
  • 2
  • 10

Global Variables Not Rendering in Focus Lab ee-master-config

With template debugging enabled, clicking the "show" link to display the database queries isn't working.

I suspect this is related to the fact that on all pages of this site there are 7 chunks of content loaded via XHR that pass through the template parser. Because of that, the same ID ci_profiler_queries_db_1 is used 7 times. Since the code used to show/hide the queries relies on getElementByID, it's unable to determine which of the identical IDs is the intended one.

Is there a solution short of waiting on a core rewrite to use classes and more advanced js?