Changeset 6059

Show
Ignore:
Timestamp:
09/07/07 02:56:05 (1 year ago)
Author:
markjaquith
Message:

focus the cursor when writing a new post. Props foolswisdom and Nazgul. fixes #3936

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r6049 r6059  
    5858 
    5959<?php echo $form_extra ?> 
    60 <?php if (isset($_GET['message']) && 2 > $_GET['message']) : ?> 
     60<?php if ((isset($post->post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?> 
    6161<script type="text/javascript"> 
    6262function focusit() {