-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major fix: Filtering on events by shifts now works. #145
base: master
Are you sure you want to change the base?
Conversation
…ent pages. Index.html: Filtering on events by shifts is now fixed and working. _details changes: html safe on a no break.
</div> | ||
|
||
<script type="text/javascript"> | ||
|
||
function filterEvents() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary, or could it be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be deleted. I didnt even see this empty stub... I will delete this asap
var emailsAttending = []; | ||
attending_rows.each(function(key, value) { | ||
emailsAttending.push(value.getAttribute('data-email')); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For these 4 lines, you might consider jQuery's map function with a .get().join(",")
like in the example code on that page.
Three files were updated. Details as follows.
Index.html: Filtering on events by shifts is now fixed and working.
CSS changes: minor, so that participant number shows up aligned on event pages. [Minor]
_details changes: html safe on a no break. [Minor]