Make WordPress Core


Ignore:
Timestamp:
10/04/2010 08:53:04 PM (14 years ago)
Author:
nacin
Message:

Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r15630 r15722  
    3333<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" tabindex="4" class="button button-highlighted" />
    3434<?php } ?>
     35<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" />
    3536</div>
    3637
     
    205206
    206207<div id="publishing-action">
    207 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" id="ajax-loading" style="visibility:hidden;" alt="" />
     208<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="ajax-loading" alt="" />
    208209<?php
    209210if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
Note: See TracChangeset for help on using the changeset viewer.