From cf7b8f01154cc17fd5e5902c60b6290ed01dd9a0 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Sun, 15 Mar 2020 14:58:46 +1100 Subject: [PATCH 1/3] Update wizard-custom.js --- assets/javascripts/wizard-custom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/javascripts/wizard-custom.js b/assets/javascripts/wizard-custom.js index c10640c5..9c0065d0 100644 --- a/assets/javascripts/wizard-custom.js +++ b/assets/javascripts/wizard-custom.js @@ -29,6 +29,7 @@ //= require discourse/lib/intercept-click //= require discourse/lib/show-modal //= require discourse/lib/key-value-store +//= require discourse/lib/settings //= require discourse/mixins/singleton From ca5afcb95d67239c7cb7a61802dbe46a4a8e8134 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Sun, 15 Mar 2020 17:20:46 +1100 Subject: [PATCH 2/3] Update wizard-custom.js --- assets/javascripts/wizard-custom.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/javascripts/wizard-custom.js b/assets/javascripts/wizard-custom.js index 9c0065d0..acc1cb3d 100644 --- a/assets/javascripts/wizard-custom.js +++ b/assets/javascripts/wizard-custom.js @@ -44,6 +44,7 @@ //= require discourse/models/trust-level //= require discourse/models/store //= require discourse/models/result-set +//= require discourse/models/bookmark //= require discourse/models/user //= require discourse/models/user-stream //= require discourse/models/user-action From 632493f3630fe854d6110a3241c91be47cacdc10 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Sun, 22 Mar 2020 17:51:20 +1100 Subject: [PATCH 3/3] Update builder.rb --- lib/custom_wizard/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custom_wizard/builder.rb b/lib/custom_wizard/builder.rb index ea8bdc01..30feee98 100644 --- a/lib/custom_wizard/builder.rb +++ b/lib/custom_wizard/builder.rb @@ -415,7 +415,7 @@ class CustomWizard::Builder end end else - value = [*value] + tags if key === 'tags' + value = [*value] + [*tags] if key === 'tags' params[key.to_sym] = value end end