This commit is contained in:
Holger Trampe 2020-06-08 21:10:58 +02:00
parent a19014d44b
commit 1b22cbd87a
2 changed files with 4 additions and 2 deletions

1
.cred
View File

@ -1 +1,2 @@
https://holger.trampe:Zerogoogle123_@git.vhevents.de/ https://holger.trampe:Zerogoogle123_@git.vhevents.de/
https://holger.trampe:Zerogoogle123_@git.vhevents.de/

View File

@ -654,9 +654,10 @@ $( function() {
if(selectedElements.length > 0){ if(selectedElements.length > 0){
$("#timetable_team tbody tr").each(function(i) { $("#timetable_team tbody tr").each(function(i) {
// find the first td in the row // find the first td in the row
var value = $(this).find("td:first").find("span:first"); var value = $(this).find("td:first").find("span:first").text();
console.log(value);
// display the value in console // display the value in console
checkrow = parseInt(active_row) checkrow = parseInt(active_row);
if(i == (checkrow)){ if(i == (checkrow)){
$("#username_abscence").html(value); $("#username_abscence").html(value);
$("#id_userid").val(selectedElements[0].split("_")[2]) $("#id_userid").val(selectedElements[0].split("_")[2])