예제 #1
0
 static function fscf_admin_footer()
 {
     // add placeholder javascript in form preview page only if needed
     if (isset(FSCF_Display::$placeholder) && FSCF_Display::$placeholder) {
         // makes placeholder work on old browsers
         wp_enqueue_script('fscf_placeholders', plugins_url('si-contact-form/includes/fscf-placeholders.min.js'), false, FSCF_BUILD);
     }
     if (isset(FSCF_Display::$add_date_js) && FSCF_Display::$add_date_js != '') {
         // add js for forms with date fields
         FSCF_Util::add_date_js();
     }
 }