From bb85b3a0d2c0ab6b59bcb405731c39089ec6731c Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Thu, 9 Jul 2020 13:15:23 +1000 Subject: [PATCH] Update raw template global in erb --- assets/javascripts/wizard-raw-templates.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/wizard-raw-templates.js.erb b/assets/javascripts/wizard-raw-templates.js.erb index 3556dc45..b6a5b7f7 100644 --- a/assets/javascripts/wizard-raw-templates.js.erb +++ b/assets/javascripts/wizard-raw-templates.js.erb @@ -21,7 +21,7 @@ Discourse.unofficial_plugins.each do |plugin| result << " (function() { if ('Wizard' in window) { - Discourse.RAW_TEMPLATES['javascripts/#{name}'] = requirejs('discourse-common/lib/raw-handlebars').template(#{compiled}); + window.__DISCOURSE_RAW_TEMPLATES['javascripts/#{name}'] = requirejs('discourse-common/lib/raw-handlebars').template(#{compiled}); } })(); "