From ecb9da09b608457876f446ecd9780663e926f68c Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Wed, 20 Mar 2024 17:24:11 +0100 Subject: [PATCH] MoK: die Funktion clacChPwPrepend in _Layout.cshtml verschoben. --- BeWoPlanerMobil/Views/Main/Main.cshtml | 19 +------------------ BeWoPlanerMobil/Views/Shared/_Layout.cshtml | 18 ++++++++++++++++++ Service/Plugins/PluginLoader.cs | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/BeWoPlanerMobil/Views/Main/Main.cshtml b/BeWoPlanerMobil/Views/Main/Main.cshtml index 3f326cce0..19bda7c84 100644 --- a/BeWoPlanerMobil/Views/Main/Main.cshtml +++ b/BeWoPlanerMobil/Views/Main/Main.cshtml @@ -313,24 +313,7 @@ showErrorPopup(error); } }); - - var initialPwPrependWidth = 0; - function calcChPwPrepend() { - try { - if (initialPwPrependWidth <= 0 && $.isNumeric(getMaxWidth("pw-prepend"))) { - initialPwPrependWidth = getMaxWidth("pw-prepend"); - } - - if (initialPwPrependWidth <= 0) { - return; - } - - $(".pw-prepend").width(getMaxWidth("pw-prepend")); - } catch(error) { - showErrorPopup(error); - } - } - + function initializeTimeInputs() { try { var previousStartTime = ""; diff --git a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml index 470ffbf67..013ad3cac 100644 --- a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml +++ b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml @@ -421,6 +421,24 @@ calcChPwPrepend(); } + var initialPwPrependWidth = 0; + function calcChPwPrepend() { + try { + if (initialPwPrependWidth <= 0 && $.isNumeric(getMaxWidth("pw-prepend"))) { + initialPwPrependWidth = getMaxWidth("pw-prepend"); + } + + if (initialPwPrependWidth <= 0) { + return; + } + + $(".pw-prepend").width(getMaxWidth("pw-prepend")); + } catch(error) { + showErrorPopup(error); + } + } + + function copyErrorToClipboard() { var element = document.querySelector("#fehlerdetail-textarea"); element.select(); diff --git a/Service/Plugins/PluginLoader.cs b/Service/Plugins/PluginLoader.cs index c81f393fa..9d72daa0a 100644 --- a/Service/Plugins/PluginLoader.cs +++ b/Service/Plugins/PluginLoader.cs @@ -322,7 +322,7 @@ namespace BeWo.Service.Plugins //t = "9518001524"; // Sozialpädagogische Praxis Astrid Schnödewind //t = "1048483934"; // Frauenhaus e.V. EWFRA - Wohnprojekt für Frauen //t = "4293131072"; // ASB Rhein-Erft/Düren e.V. Schulbegleitung - t = "2221228727"; // Autismus Leben gGmbH + //t = "2221228727"; // Autismus Leben gGmbH //t = "5065709552"; // Biotop e.V. //t = "9094672461"; // Transkulturelles Betreuungsbüro (Toprak GmbH) //t = "9008813932"; // Aids Hilfe Giessen