@@ -12,29 +12,29 @@ Description :
12
12
Debugging template for the application
13
13
----------------------------------------------------------------------->
14
14
<cfscript >
15
- isQuickInstalled = event .getController ().getModuleService ().isModuleRegistered ( " quick" );
16
- isQBInstalled = event .getController ().getModuleService ().isModuleRegistered ( " qb" );
17
- totalQueries = request .cbdebugger .keyExists ( " qbQueries" ) ? request .cbdebugger .qbQueries .all .len () : 0 ;
18
- totalExecutionTime = ! request .cbdebugger .keyExists ( " qbQueries" ) ? 0 : request .cbdebugger .qbQueries .all .reduce ( function ( total , q ) {
15
+ local . isQuickInstalled = event .getController ().getModuleService ().isModuleRegistered ( " quick" );
16
+ local . isQBInstalled = event .getController ().getModuleService ().isModuleRegistered ( " qb" );
17
+ local . totalQueries = request .cbdebugger .keyExists ( " qbQueries" ) ? request .cbdebugger .qbQueries .all .len () : 0 ;
18
+ local . totalExecutionTime = ! request .cbdebugger .keyExists ( " qbQueries" ) ? 0 : request .cbdebugger .qbQueries .all .reduce ( function ( total , q ) {
19
19
return total + q .executionTime ;
20
20
}, 0 );
21
- totalEntities = request .cbdebugger .keyExists ( " quick" ) ? request .cbdebugger .quick .total : 0 ;
21
+ local . totalEntities = request .cbdebugger .keyExists ( " quick" ) ? request .cbdebugger .quick .total : 0 ;
22
22
</cfscript >
23
23
<cfoutput >
24
24
<div class =" fw_titles" onClick =" fw_toggle('fw_qbPanel')" >
25
- <cfif isQuickInstalled >Quick & ## 47; </cfif >qb
25
+ <cfif local . isQuickInstalled >Quick & ## 47; </cfif >qb
26
26
</div >
27
27
<div class =" fw_debugContent<cfif instance.debuggerConfig.expandedQBPanel>View</cfif>" id =" fw_qbPanel" >
28
28
<div id =" qbQueries" >
29
- <cfif NOT isQBInstalled >
29
+ <cfif NOT local . isQBInstalled >
30
30
qb is not installed or registered.
31
31
<cfelse >
32
- <div class =" fw_subtitles" > Queries <span class =" fw_badge_dark" style =" margin-left: 1em;" >#totalQueries #</span ></div >
32
+ <div class =" fw_subtitles" > Queries <span class =" fw_badge_dark" style =" margin-left: 1em;" >#local . totalQueries #</span ></div >
33
33
<div style =" padding: 1em;" >
34
34
<input type =" button" style =" font-size:10px" value =" Grouped View" onClick =" fw_showGroupedQueries()" >
35
35
<input type =" button" style =" font-size:10px" value =" Timeline View" onClick =" fw_showTimelineQueries()" >
36
36
</div >
37
- <cfif totalQueries EQ 0 >
37
+ <cfif local . totalQueries EQ 0 >
38
38
No queries executed
39
39
<cfelse >
40
40
<div id =" groupedQueries" >
@@ -109,17 +109,17 @@ Description :
109
109
Total Execution Time:
110
110
</div >
111
111
<div class =" fw_debugContentCell" >
112
- #totalExecutionTime # ms
112
+ #local . totalExecutionTime # ms
113
113
</div >
114
114
</div >
115
115
</cfif >
116
116
</cfif >
117
117
</div >
118
- <cfif isQuickInstalled >
118
+ <cfif local . isQuickInstalled >
119
119
<hr />
120
120
<div id =" quickEntities" style =" margin-top: 1em;" >
121
- <div class =" fw_subtitles" > Entities <span class =" fw_badge_dark" style =" margin-left: 1em;" >#totalEntities #</span ></div >
122
- <cfif totalEntities EQ 0 >
121
+ <div class =" fw_subtitles" > Entities <span class =" fw_badge_dark" style =" margin-left: 1em;" >#local . totalEntities #</span ></div >
122
+ <cfif local . totalEntities EQ 0 >
123
123
No Quick entities loaded.
124
124
<cfelse >
125
125
<table border =" 0" align =" center" cellpadding =" 0" cellspacing =" 1" class =" fw_debugTables" style =" margin-top: 1em;" >
0 commit comments