0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

Merge pull request #252 from paviliondev/temp_app_route_fix

FIX: temp fix for javascript exception during init
Dieser Commit ist enthalten in:
Angus McLeod 2023-07-07 12:20:37 +02:00 committet von GitHub
Commit d74f5cbd89
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -1,5 +1,3 @@
import ApplicationRoute from "discourse/routes/application";
export default { export default {
name: "custom-wizard-redirect", name: "custom-wizard-redirect",
after: "message-bus", after: "message-bus",
@ -17,6 +15,8 @@ export default {
window.location.href = wizardUrl; window.location.href = wizardUrl;
}); });
const ApplicationRoute = requirejs("discourse/routes/application").default;
ApplicationRoute.reopen({ ApplicationRoute.reopen({
actions: { actions: {
willTransition(transition) { willTransition(transition) {

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
# version: 2.4.9 # version: 2.4.10
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact_emails: development@pavilion.tech # contact_emails: development@pavilion.tech