diff --git a/plugin.rb b/plugin.rb index 4a296b0d..c702d542 100644 --- a/plugin.rb +++ b/plugin.rb @@ -26,7 +26,11 @@ if Rails.env.production? } end -register_svg_icon "calendar-o" if respond_to?(:register_svg_icon) +if respond_to?(:register_svg_icon) + register_svg_icon "calendar-o" + register_svg_icon "chevron-right" + register_svg_icon "chevron-left" +end after_initialize do UserHistory.actions[:custom_wizard_step] = 1000 diff --git a/views/layouts/wizard.html.erb b/views/layouts/wizard.html.erb index 613193e7..ebbf7678 100644 --- a/views/layouts/wizard.html.erb +++ b/views/layouts/wizard.html.erb @@ -8,6 +8,7 @@ <%- if theme_ids %> <%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %> <%- end %> + <%= preload_script "ember_jquery" %> <%= preload_script "wizard-vendor" %> <%= preload_script "wizard-application" %> @@ -40,6 +41,12 @@ <%- end %> <%= preload_script 'wizard-custom-start' %> - <%= preload_script 'wizard-raw-templates' %> + <%= preload_script 'wizard-raw-templates' %> + +