bainternet/My-Meta-Box — Issue #3: Date & Timepicker Issue
Author: jasonbahl
Created: 2012-01-06 03:33:38+00:00
State: open

First off, very big THANK YOU for all the work you've put into this. It's an awesome script and a HUGE time saver!

Anyway, when I try to use the datepicker and timepicker fields, I get js errors that also cause the image uploaders not to work.

The error shows:

meta-box.js:223Uncaught TypeError: Object [object Object] has no method 'datepicker'

If I remove the date field, then I get a timepicker error:

Uncaught TypeError: Object [object Object] has no method 'timepicker'

If I remove both the date and time fields from my meta box, all other meta boxes work just fine.

Any ideas? Perhaps it's a user error on my part?

This is the code I've used to create the meta boxes. . .

$my_meta->addDate($prefix.'date_field_id',array('name'=> 'Date '));
$my_meta->addTime($prefix.'time_field_id',array('name'=> 'Time '));