-
Notifications
You must be signed in to change notification settings - Fork 33
#47 popover bug fixes #50
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
Conversation
…ent." instead of being blank if the notes field is empty.
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.
Hey, these are great fixes... playing around with this I realized one more think I overlooked, which is the map popovers should close when you go back home. Maybe stay open when the user searches? Like they've clicked on an event they were interested in before they searched. Not critical
<tr id="{{rowid}}" class= 'event-row' data-Main_State-filter={{State}} data-Member-filter={{Member}} | ||
data-container="body" data-animation="true" data-html="true" data-toggle="popover" data-placement="top" | ||
title="Notes <a href='javascript:void(0)' class='close'>×</a>" | ||
data-content="{{#if Notes}}{{Notes}}{{/if}}{{#unless Notes}}There are no notes for this event.{{/unless}}"> |
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.
this is a great addition
@@ -427,6 +425,7 @@ | |||
}); | |||
marker.setIcon('https://maps.google.com/mapfiles/ms/icons/red-dot.png'); | |||
marker.addListener('click', function() { | |||
infowindow.setContent(contentString); |
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.
Can you also have these close when the user searches and when they got back to home
This closes issue #47.
I wound up going with close buttons for the popover instead of the original idea of clicking off the table closing them. That's how the ones on the google map popover are implemented and I figure it's worth keeping things in sync.