From 6b29461e06054f24f8e57c86fea9cc4dffc64d19 Mon Sep 17 00:00:00 2001 From: Cris Date: Mon, 30 Sep 2019 14:16:48 +0200 Subject: [PATCH] Added empty password field --- application/views/lehre/lehrauftrag/acceptLehrauftrag.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php index cea417c65..af0b25d30 100644 --- a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php @@ -164,6 +164,8 @@ $(function() { var selected_data = $('#filterTabulator').tabulator('getSelectedData'); if (selected_data.length == 0) { + // Emtpy password field + $("#password").val(''); FHC_DialogLib.alertInfo('Bitte wählen Sie erst zumindest einen Lehrauftrag'); return; } @@ -207,6 +209,10 @@ $(function() { } } ); + + // Empty password field + $("#password").val(''); + }); });