Fixed: Now trimming text when copying lectors reason to STGLs reason for rejection

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-04-07 11:59:32 +02:00
committed by cris-technikum
parent 343b7a3087
commit bd2727fa02
@@ -354,7 +354,7 @@ var approveAnrechnungDetail = {
if (elem.id.length && elem.id == 'empfehlungstextUebernehmen')
{
// Copy Empfehlungstext into textarea
textarea.val($('#approveAnrechnungDetail-empfehlungDetail-begruendung').text());
textarea.val($.trim($('#approveAnrechnungDetail-empfehlungDetail-begruendung').text()));
return;
}
else