Skip to content

Commit be5124d

Browse files
committed
Merge branch 'sf/form-transition-redirect-to' into develop
2 parents 65dbddd + e920e72 commit be5124d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/concepts/matestack/ui/core/form/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const componentDef = {
137137
&& self.componentConfig["success"]["transition"]["follow_response"] === true
138138
&& self.$store != undefined
139139
) {
140-
let path = response.data["transition_to"]
140+
let path = response.data["transition_to"] || response.request.responseURL
141141
self.$store.dispatch('navigateTo', {url: path, backwards: false})
142142
return;
143143
}

vendor/assets/javascripts/dist/matestack-ui-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/assets/javascripts/dist/matestack-ui-core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)