Javascript not loading with admin_print_scripts
-
As far as I can tell it was the upgrade to 2.8 that caused my script to stop loading. Is there any new update that would prevent the following from working? Is there a new and/or improved way of doing this?
add_action('admin_print_scripts', 'vizzer_js_init'); function vizzer_js_init() { wp_enqueue_script('vizzer', '/' . PLUGINDIR . '/vizzer/js/vizzer.js', array('jquery','jquery-ui-sortable', 'json2')); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Javascript not loading with admin_print_scripts’ is closed to new replies.