Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x

* '1.0.x' of gitorious.org:statusnet/mainline:
  Correct fieldset ID for Event form.
  Update Event plugin datepicker function for new unique input IDs.
This commit is contained in:
Zach Copley 2011-04-17 20:34:55 -07:00
commit f25b6e6116
2 changed files with 2 additions and 2 deletions

View 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)

View File

@ -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();