projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2341e58
)
Fixed problems when there's no calendar data for the admin event calendar
author
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 9 Mar 2016 21:43:31 +0000
(16:43 -0500)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 9 Mar 2016 21:43:31 +0000
(16:43 -0500)
views/admin/events/edit.html
patch
|
blob
|
history
diff --git
a/views/admin/events/edit.html
b/views/admin/events/edit.html
index
21642d1
..
3e798f4
100644
(file)
--- a/
views/admin/events/edit.html
+++ b/
views/admin/events/edit.html
@@
-615,8
+615,8
@@
if (table == 'glm-table-calendar' && !fullCalendarLoaded) {
$('#eventCalendar').fullCalendar({
- events: [
{if $haveTimes}
+ events: [
{$sep = ''}
{foreach $times as $t}
{$sep}{
@@
-627,9
+627,9
@@
}
{$sep = ','}
{/foreach}
- {/if}
],
defaultDate : '{$firstTime.start_time.datetime}'
+ {/if}
});
fullCalendarLoaded = true;
}