From ebff9097b451e3f00b32c4099958606af09be8e6 Mon Sep 17 00:00:00 2001 From: Christopher Bross Date: Wed, 29 Jul 2020 12:06:10 +0200 Subject: [PATCH] new cdn source to fix time out problems and releas submitt butten nur im fehlerfall --- frontend/index.html | 6 ++++-- frontend/js/form.js | 11 +++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 3e7e084..4ca662b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -10,10 +10,10 @@ + - @@ -708,7 +708,9 @@ - + + + diff --git a/frontend/js/form.js b/frontend/js/form.js index 1c1b5ea..9763397 100644 --- a/frontend/js/form.js +++ b/frontend/js/form.js @@ -46,7 +46,7 @@ $(function () { .append(""); //hide sendMessageButton - $("#sendMessageButton").style.visibility = "hidden"; + // $this.style.visibility = "hidden"; //clear all fields $("#form_anmelden").trigger("reset"); @@ -81,13 +81,16 @@ $(function () { .append("") .append(""); - - }, - complete: function () { setTimeout(function () { $this.prop("disabled", false); // Re-enable submit button when AJAX call is complete }, 1000); + }, + // complete: function () { + // setTimeout(function () { + // $this.prop("disabled", false); // Re-enable submit button when AJAX call is complete + // }, 1000); + // }, }); }, filter: function () {