FIX: javascript exception during initialisation
Dieser Commit ist enthalten in:
Ursprung
ebd25f2780
Commit
852849cec7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -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) {
|
||||||
|
|
Laden …
In neuem Issue referenzieren