File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
### Fixed
13
13
14
+ * Look at the renderdata content type instead of type as it's more consistent in order to turn off the debugger on multi-marshalled sites
14
15
* [ CBDEBUGGER-1] - Lucee debugger no longer shows below the cbDebugger. Turn off only on Ajax Calls
15
16
16
17
### Changed
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ component extends="coldbox.system.Interceptor" {
100
100
// Has it not been disabled by the user programmatically
101
101
arguments .event .getPrivateValue ( " cbox_debugger_show" , true ) AND
102
102
// We don't have any render data OR the render data is HTML
103
- ( structIsEmpty ( arguments .event .getRenderData () ) || arguments .event .getRenderData ().type == " HTML " ) AND
103
+ ( structIsEmpty ( arguments .event .getRenderData () ) || arguments .event .getRenderData ().contentType == " text/html " ) AND
104
104
// Don't render in ajax calls
105
105
! arguments .event .isAjax () AND
106
106
// Don't render in testing mode
You can’t perform that action at this time.
0 commit comments