From c2038e796b76c16cc6fb01193403c3371a1de18f Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Sun, 17 Apr 2011 21:37:22 -0400 Subject: [PATCH 1/2] Update Event plugin datepicker function for new unique input IDs. --- plugins/Event/EventPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 34b6038b833321d0cdb45060be46211df4436e43 Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Sun, 17 Apr 2011 21:38:09 -0400 Subject: [PATCH 2/2] Correct fieldset ID for Event form. --- plugins/Event/eventform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Event/eventform.php b/plugins/Event/eventform.php index e7d7a26bea..6a6e17e77b 100644 --- a/plugins/Event/eventform.php +++ b/plugins/Event/eventform.php @@ -83,7 +83,7 @@ class EventForm extends Form */ function formData() { - $this->out->elementStart('fieldset', array('id' => 'new_bookmark_data')); + $this->out->elementStart('fieldset', array('id' => 'new_event_data')); $this->out->elementStart('ul', 'form_data'); $this->li();