mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-06-27 16:10:13 +08:00
Allow the ID to be a number.
This commit is contained in:
@@ -522,6 +522,10 @@ function EventManager(options) { // assumed to be a calendar
|
||||
}
|
||||
|
||||
if (out.resources) {
|
||||
if (typeof out.resources == 'number') {
|
||||
out.resources = [out.resources];
|
||||
}
|
||||
|
||||
if (typeof out.resources == 'string') {
|
||||
out.resources = out.resources.split(/\s+/);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user