Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.

git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-08-25 05:14:49 +00:00
parent ca608e336a
commit 61c97aba16
14 changed files with 145 additions and 107 deletions
+1
View File
@@ -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 ) :