ui-calendar icon indicating copy to clipboard operation
ui-calendar copied to clipboard

Calendar initialization can fail if no lang is configured for calendar config.

Open rizoom opened this issue 10 years ago • 4 comments

Seems new to 2.7.1 (last commit) See PR #415

rizoom avatar May 31 '16 09:05 rizoom

I can confirm this is happening. I received a "TypeError: Cannot read property '5' of undefined" if I do not include a language in the configuration object. As soon as I include the language property, the calendar loads as normal.

Angular: 1.5.5 FullCalendar: 2.7.2 Jquery: 2.1.4 Moment: 2.13.0 Chrome: Version 50.0.2661.102 m

image

l6gslayer avatar Jun 02 '16 16:06 l6gslayer

i'll take a look at it tomorrow :]

peterver avatar Jun 03 '16 21:06 peterver

Any feedback? A PR is already provided, it is a tiny merge, really easy ;)

rizoom avatar Jun 14 '16 09:06 rizoom

Thank you!

martin-langhoff avatar Jun 14 '16 14:06 martin-langhoff