hash control for form posting
This commit is contained in:
4
resources/assets/js/plugins/form.js
vendored
4
resources/assets/js/plugins/form.js
vendored
@ -479,6 +479,10 @@ export default class Form {
|
||||
this.loading = true;
|
||||
|
||||
window.location.href = response.data.redirect;
|
||||
|
||||
if (window.location.hash !== undefined) {
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
this.response = response.data;
|
||||
|
Reference in New Issue
Block a user