From 7f684f0b03497253412388935c76f138c5ab60df Mon Sep 17 00:00:00 2001 From: kimoantiqe Date: Tue, 22 May 2018 22:52:13 +0400 Subject: [PATCH] Metro van mini-fix --- App/views/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/views/js/main.js b/App/views/js/main.js index 2dc0034..f425888 100644 --- a/App/views/js/main.js +++ b/App/views/js/main.js @@ -129,7 +129,7 @@ function submitForm(formData){ data: formData, url: 'http://localhost:8000/form', error:function(){ - window.location.replace('../error.html'); + unloadScreen(); }, success: function(data) { unloadScreen();