Make WordPress Core


Ignore:
Timestamp:
01/04/2008 08:46:33 AM (18 years ago)
Author:
ryan
Message:

Port autosave to jquery. Props rmccue. see #3824

File:
1 edited

Legend:

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

    r6513 r6546  
    5353    }
    5454
    55     if($post->post_status == 'draft') {
    56         wp_enqueue_script('prototype');
    57         wp_enqueue_script('jquery');
     55    if ( 'draft' == $post->post_status )
    5856        wp_enqueue_script('autosave');
    59     }
     57
    6058    require_once('admin-header.php');
    6159
Note: See TracChangeset for help on using the changeset viewer.