@@ -32,7 +32,7 @@ class TracyDebugger extends WireData implements Module, ConfigurableModule {
3232 'summary' => __('Tracy debugger from Nette with several PW specific custom tools.', __FILE__),
3333 'author' => 'Adrian Jones',
3434 'href' => 'https://processwire.com/talk/topic/12208-tracy-debugger/',
35- 'version' => '4.10.25 ',
35+ 'version' => '4.10.26 ',
3636 'autoload' => true,
3737 'singular' => true,
3838 'requires' => 'ProcessWire>=2.7.2, PHP>=5.4.4',
@@ -1089,7 +1089,6 @@ class TracyDebugger extends WireData implements Module, ConfigurableModule {
10891089 // Exit now if "enabled" not true from init()
10901090 if(!$this->tracyEnabled) return;
10911091
1092-
10931092 // USER BAR PAGE VERSIONS
10941093 if(!static::$inAdmin && $this->wire('user')->hasPermission('tracy-page-versions') && $this->data['showUserBar'] && in_array('pageVersions', $this->data['userBarFeatures']) && !$this->wire('config')->ajax && $this->wire('user')->isLoggedin()) {
10951094 static::$pageVersion = $this->findPageTemplateInCookie($this->wire('input')->cookie->tracyPageVersion);
@@ -2117,6 +2116,10 @@ class TracyDebugger extends WireData implements Module, ConfigurableModule {
21172116 */
21182117 public function getModuleConfigInputfields(array $data) {
21192118
2119+ // load ACE editor for Custom PHP panel code entry
2120+ $this->wire('config')->scripts->append($this->wire('config')->urls->TracyDebugger . "scripts/ace-editor/ace.js");
2121+ $this->wire('config')->scripts->append($this->wire('config')->urls->TracyDebugger . "scripts/config-load-ace.js");
2122+
21202123 // convert PW Info panel custom links from path back to ID
21212124 if(isset($data['customPWInfoPanelLinks'])) {
21222125 $customPWInfoPanelLinkIds = array();
@@ -3028,6 +3031,7 @@ class TracyDebugger extends WireData implements Module, ConfigurableModule {
30283031 });
30293032
30303033 return $wrapper;
3034+
30313035 }
30323036
30333037}
0 commit comments