diff --git a/assets/javascripts/wizard-custom.js b/assets/javascripts/wizard-custom.js index 0f75892b..2cb807e5 100644 --- a/assets/javascripts/wizard-custom.js +++ b/assets/javascripts/wizard-custom.js @@ -11,6 +11,7 @@ //= require discourse/lib/page-visible //= require discourse/lib/logout //= require discourse/lib/render-tag +//= require discourse/lib/notification-levels //= require markdown-it-bundle //= require pretty-text/engines/discourse-markdown-it diff --git a/assets/javascripts/wizard/initializers/custom.js.es6 b/assets/javascripts/wizard/initializers/custom.js.es6 index 1b50bde1..7e9d2b69 100644 --- a/assets/javascripts/wizard/initializers/custom.js.es6 +++ b/assets/javascripts/wizard/initializers/custom.js.es6 @@ -1,5 +1,4 @@ import { default as computed } from 'ember-addons/ember-computed-decorators'; -import Singleton from "discourse/mixins/singleton"; export default { name: 'custom-routes', @@ -18,7 +17,7 @@ export default { const FieldModel = requirejs('wizard/models/wizard-field').default; const autocomplete = requirejs('discourse/lib/autocomplete').default; const cook = requirejs('discourse/plugins/discourse-custom-wizard/wizard/lib/text-lite').cook; - //const Singleton = requirejs("discourse/mixins/singleton").default; + const Singleton = requirejs("discourse/mixins/singleton").default; const WizardFieldDropdown = requirejs('wizard/components/wizard-field-dropdown').default; WizardFieldDropdown.reopen({