Add jquery dependency to admin-forms. Props 082net. fixes #7321 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@8347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-07-16 16:16:45 +00:00
parent 1ae2433c72
commit e04638ac6f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ function wp_default_scripts( &$scripts ) {
'pending' => __('%i% pending') // must look like: "# blah blah" 'pending' => __('%i% pending') // must look like: "# blah blah"
) ); ) );
$scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' ); $scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
$scripts->add( 'admin-forms', '/wp-admin/js/forms.js', false, '20080401'); $scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080401');
$scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' ); $scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
$scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' ); $scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
$scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' ); $scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' );