Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -190,6 +190,7 @@ if ( ( 'edit' == $action ) && current_user_can("delete_${post_type}", $post->ID)
|
||||
</div>
|
||||
|
||||
<div id="publishing-action">
|
||||
<img src="images/wpspin_light.gif" id="ajax-loading" style="visibility:hidden;" alt="" />
|
||||
<?php
|
||||
if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
|
||||
if ( $can_publish ) :
|
||||
|
||||
Reference in New Issue
Block a user