Make WordPress Core

Changeset 6572


Ignore:
Timestamp:
01/08/2008 06:39:09 AM (16 years ago)
Author:
ryan
Message:

Fade using jquery.color. Props JeremyVisser. fixes #5369

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin.php

    r6412 r6572  
    2929wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback'));
    3030
    31 wp_enqueue_script( 'fat' );
     31wp_enqueue_script( 'admin' );
    3232
    3333$editing = false;
  • trunk/wp-includes/script-loader.php

    r6570 r6572  
    8585        $this->add( 'suggest', '/wp-includes/js/jquery/suggest.js', array('dimensions'), '1.1');
    8686        $this->add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array('jquery'), '20');
     87        $this->add( 'jquery-color', '/wp-includes/js/jquery/jquery.color.js', array('jquery'), '1.0');
    8788
    8889        if ( is_admin() ) {
    89             global $pagenow;
    90             $man = false;
    91             switch ( $pagenow ) :
    92             case 'post.php' :
    93             case 'post-new.php' :
    94                 $man = 'postmeta';
    95                 break;
    96             case 'page.php' :
    97             case 'page-new.php' :
    98                 $man = 'pagemeta';
    99                 break;
    100             case 'link-add.php' :
    101             case 'link.php' :
    102                 $man = 'linkmeta';
    103                 break;
    104             endswitch;
     90            $this->add( 'admin', '/wp-admin/js/admin.js', array('jquery-color'), '20080107');
    10591            $this->add( 'ajaxcat', '/wp-admin/js/cat.js', array( 'wp-lists' ), '20071101' );
    10692            $this->localize( 'ajaxcat', 'catL10n', array(
Note: See TracChangeset for help on using the changeset viewer.