Skip to content
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

Category colors not showing in drop-down in admin event calendar view #109

Closed
mperry2 opened this issue Jul 21, 2013 · 3 comments
Closed

Comments

@mperry2
Copy link
Contributor

mperry2 commented Jul 21, 2013

I created a category and assigned a color for it. I then went to Events -> Calendar View in the admin area. Above the calendar is a drop-down menu titled "View All Categories". When I click on it, I see my category, but the square in front of the name in the drop-down doesn't display the category's color.

It looks like event-organiser-calendar.php should output the CSS for the colors in the page_styles() function, but the styles weren't found when I inspected the output in Firebug.

I'm using WordPress 3.5.2 with Event Organiser 2.1.7. EO is the only active plugin.

@stephenharris
Copy link
Owner

Yeah, I noticed this the other day too (but had since completely forgotten about it) - not sure how long this has been broken, but I'll take a look.

@stephenharris
Copy link
Owner

It seems that the style is being loaded before the dynamic CSS ( via page styles) was being attached. Fixed this, but there is a bug with WP in that add_inline_style() behaves differently depending on whether SCRIPT_DEBUG is true or false. Not a problem for production sites though. (Submitted trac ticket http://core.trac.wordpress.org/ticket/24813 )

@mperry2
Copy link
Contributor Author

mperry2 commented Jul 22, 2013

Thanks for fixing this so quickly, Stephen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants