diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index 5c2fd35d74..4159641d08 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -435,4 +435,9 @@ class EventPlugin extends MicroappPlugin common_log(LOG_DEBUG, "Not deleting related, wtf..."); } } + + function onEndShowScripts($action) + { + $action->inlineScript('$(document).ready(function() { $("#startdate").datepicker(); $("#enddate").datepicker(); });'); + } }