Przeglądaj źródła

bugfix attendee list

master
Daniel 3 lat temu
rodzic
commit
42224c3b40
2 zmienionych plików z 1 dodań i 2 usunięć
  1. +0
    -1
      src/client/app/js/app/model/Appointment.js
  2. +1
    -1
      src/client/app/tmpl/appointment-detail-attendee.html

+ 0
- 1
src/client/app/js/app/model/Appointment.js Wyświetl plik

@@ -520,7 +520,6 @@ app.model.Appointment = function( appData, attendees, attendeeProfiles )
{
if ( attendees[ ai ].has_attended == "attended" )
{
//attendeesAttended.push( this.getProfileById( attendees[ ai ].profile_id ) );
attendeesAttended.push( attendees[ ai ].profile_id );
}
}


+ 1
- 1
src/client/app/tmpl/appointment-detail-attendee.html Wyświetl plik

@@ -20,7 +20,7 @@
<table class="table table-profiles">
<tbody>
<% for ( var aai = 0; aai < attendeesAttended.length; aai++ ) { %>
<% prfl = a.getProfileById( attendeesAttended[ aai ].profile_id ); %>
<% prfl = a.getProfileById( attendeesAttended[ aai ] ); %>
<%=raw app.core.View.getTemplate( 'appointment-detail-attendee-row', { a: a, at :prfl, g : g, childProfile : prfl.getChildProfileById( attendeesAttended[ aai ].profile_child_id ) } ) %>
<% } %>
</tbody>


Ładowanie…
Anuluj
Zapisz