Closed robgnyc closed 9 years ago
Perhaps due to this error I get using latest Query Monitor:
Broken Dependencies jquery-timepicker http://logosack-wp.ep/assets/plugins/simple-fields/js/jquery-ui-timepicker-addon.css jquery-ui-smoothness (missing)
It seems Simple Fields v1.4.10 needs some tweaking as for the Date&Timepicker. Maybe this will help some.
The qMonitor's 'broken dependencies warning' is caused by the enqueue depency as specified in field_date_v2.php:
wp_enqueue_style("jquery-timepicker", SIMPLE_FIELDS_URL . "js/jquery-ui-timepicker-addon.css", array("jquery-ui-smoothness") );
Due to the missing css the Timepicker display is somewhat messy but doesn't seem to do much more harm in my simple test set-up.
If is set the timepicker to only date or only time, everything works as expected. When I select 'Show picker as both date and time', however, I get a script error 'Uncaught TypeError: $.datepicker.log is not a function'. Apparently that function was removed at some point from jQuery UI, ref https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/545.
Kind regards, Peter
thanks peter. i will release an update soon with this fix.
The date picker functionality works fine for date only but if you choose time and date or time only there is nowhere to enter the time, only the date.