Turns out it was a problem with some HTTPS stuff that was going on, so things are getting there. However, we're not using the Gravity Forms CSS and already have jQuery UI (both the JS from the Google CDN and our own customized CSS) included in our theme. Is there a good way to dequeue the included Datepicker UI JS without editing the Gravity Forms files? The included Datepicker JS doesn't grab all the classes needed for styling and is also redundant in our case. We've done this for now, in both places in form_display.php:
//wp_enqueue_script("gforms_ui_datepicker", GFCommon::get_base_url() . "/js/jquery-ui/ui.datepicker.js", array("jquery"), GFCommon::$version, true);
//wp_enqueue_script("gforms_datepicker", GFCommon::get_base_url() . "/js/datepicker.js", array("gforms_ui_datepicker"), GFCommon::$version, true);
wp_enqueue_script("gforms_datepicker", GFCommon::get_base_url() . "/js/datepicker.js", array("jqueryui"), GFCommon::$version, true);
Posted 13 years ago on Tuesday May 17, 2011 |
Permalink