Bugs 091
This commit is contained in:
parent
418dd9c439
commit
a19014d44b
|
|
@ -20,7 +20,7 @@
|
|||
<tr>
|
||||
<td width="21%" id="{{actfcounter}}_{{forloop.counter}}_{{us.pk}}_firstcolum">
|
||||
<img class="commentimg mr-2" src="{{ us.profile.get_photo_url }}">
|
||||
{{us.get_full_name}}
|
||||
<span class="us_fullname">{{us.get_full_name}}</span>
|
||||
{% if user|usergperm:"absencemanager" %}
|
||||
{% kontingent us as userkontingent %}
|
||||
<span class="badge badge-primary badge-counter" style="float: right;" >{{userkontingent}}</span>
|
||||
|
|
@ -654,10 +654,10 @@ $( function() {
|
|||
if(selectedElements.length > 0){
|
||||
$("#timetable_team tbody tr").each(function(i) {
|
||||
// find the first td in the row
|
||||
var value = $(this).find("td:first").text();
|
||||
// display the value in console
|
||||
var value = $(this).find("td:first").find("span:first");
|
||||
// display the value in console
|
||||
checkrow = parseInt(active_row)
|
||||
if(i == (checkrow)){
|
||||
if(i == (checkrow)){
|
||||
$("#username_abscence").html(value);
|
||||
$("#id_userid").val(selectedElements[0].split("_")[2])
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue