]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Update Event plugin datepicker function for new unique input IDs.
authorSamantha Doherty <sammy@status.net>
Mon, 18 Apr 2011 01:37:22 +0000 (21:37 -0400)
committerSamantha Doherty <sammy@status.net>
Mon, 18 Apr 2011 01:40:15 +0000 (21:40 -0400)
plugins/Event/EventPlugin.php

index 978b4610b2019df4111c39cb4905bac02d090599..eea7631f995ba883925d35426d268eb97521b2a9 100644 (file)
@@ -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)