From: Samantha Doherty Date: Mon, 18 Apr 2011 01:37:22 +0000 (-0400) Subject: Update Event plugin datepicker function for new unique input IDs. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c2038e796b76c16cc6fb01193403c3371a1de18f;p=quix0rs-gnu-social.git Update Event plugin datepicker function for new unique input IDs. --- diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index 978b4610b2..eea7631f99 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -480,7 +480,7 @@ class EventPlugin extends MicroappPlugin function onEndShowScripts($action) { - $action->inlineScript('$(document).ready(function() { $("#startdate").datepicker(); $("#enddate").datepicker(); });'); + $action->inlineScript('$(document).ready(function() { $("#event-startdate").datepicker(); $("#event-enddate").datepicker(); });'); } function onEndShowStyles($action)