|
|
@@ -584,6 +584,7 @@ var app = new Vue({ |
|
|
|
} |
|
|
|
else { |
|
|
|
app.errors = response.data.errors ; |
|
|
|
window.scroll(0, $('#page-title').offset().top) ; |
|
|
|
app.disableConfirmButton = false ; |
|
|
|
} |
|
|
|
}); |
|
|
@@ -652,7 +653,7 @@ var app = new Vue({ |
|
|
|
updated: function () { |
|
|
|
var app = this; |
|
|
|
this.$nextTick(function () { |
|
|
|
if(app.step == 'payment' && !app.user && app.producer.option_allow_order_guest) { |
|
|
|
if(app.step == 'products' && !app.user && app.producer.option_allow_order_guest) { |
|
|
|
$("#signup-guest form").validate({ |
|
|
|
rules: { |
|
|
|
'SignupForm[email]': { |