From 0a49920350623f5d2ad1b5b985fe423e4784c523 Mon Sep 17 00:00:00 2001 From: merefield Date: Wed, 15 May 2024 12:23:30 +0100 Subject: [PATCH] remove commented out code, debugger statements --- .../components/custom-wizard-field-composer.js.es6 | 8 -------- .../discourse/components/custom-wizard-step.js.es6 | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/assets/javascripts/discourse/components/custom-wizard-field-composer.js.es6 b/assets/javascripts/discourse/components/custom-wizard-field-composer.js.es6 index a505f340..6be6ee5a 100644 --- a/assets/javascripts/discourse/components/custom-wizard-field-composer.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-field-composer.js.es6 @@ -15,15 +15,7 @@ export default Component.extend({ ], didInsertElement() { - debugger; this.set("composer.reply", this.get("field.value") || ""); - // this.set( - // "composer", - // EmberObject.create({ - // loading: false, - // reply: this.get("field.value") || "", - // }) - // ); }, @observes("composer.reply") diff --git a/assets/javascripts/discourse/components/custom-wizard-step.js.es6 b/assets/javascripts/discourse/components/custom-wizard-step.js.es6 index 9fb9ef94..01035102 100644 --- a/assets/javascripts/discourse/components/custom-wizard-step.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-step.js.es6 @@ -192,8 +192,7 @@ export default Component.extend({ }, nextStep() { - console.log(this.composer.isProcessingUpload); - debugger; + console.log("is there an upload process going on? " + this.composer.isProcessingUpload); if (this.saving || this.composer.isProcessingUpload) { return;