Ticket #14582: 14582.2.diff
File 14582.2.diff, 2.4 KB (added by , 13 years ago) |
---|
-
wp-admin/css/ie.dev.css
422 422 background: #298CBA; 423 423 } 424 424 425 #wpcontent #ajax-loading { 425 #wpcontent #ajax-loading, 426 #wpcontent #draft-ajax-loading{ 426 427 vertical-align: baseline; 427 428 } 428 429 -
wp-admin/css/wp-admin.dev.css
1892 1892 } 1893 1893 1894 1894 #media-buttons img, 1895 #submitpost #ajax-loading { 1895 #submitpost #ajax-loading, 1896 #submitpost #draft-ajax-loading { 1896 1897 vertical-align: middle; 1897 1898 } 1898 1899 1900 #submitpost #draft-ajax-loading { 1901 display: block; 1902 float: left; 1903 width: 16px; 1904 height: 25px; 1905 margin: 0 5px; 1906 background: transparent url(../images/wpspin_light.gif) no-repeat scroll 0 50%; 1907 } 1908 1899 1909 .submitbox .submit { 1900 1910 text-align: left; 1901 1911 padding: 12px 10px 10px; -
wp-admin/includes/meta-boxes.php
32 32 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?> 33 33 <input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" tabindex="4" class="button button-highlighted" /> 34 34 <?php } ?> 35 <div id="draft-ajax-loading" style="visibility:hidden;"></div> 35 36 </div> 36 37 37 38 <div id="preview-action"> -
wp-includes/js/autosave.dev.js
21 21 else 22 22 t.addClass('button-disabled'); 23 23 }); 24 $('#ajax-loading').css('visibility', 'visible'); 24 if ( $(this).attr('id') == 'save-post' ) 25 $('#draft-ajax-loading').css('visibility', 'visible'); 26 else 27 $('#ajax-loading').css('visibility', 'visible'); 25 28 }); 26 29 27 30 window.onbeforeunload = function(){ … … 173 176 // delay that a bit to avoid some rare collisions while the DOM is being updated. 174 177 setTimeout(function(){ 175 178 jQuery(':button, :submit', '#submitpost').removeAttr('disabled'); 176 jQuery('#ajax-loading ').css('visibility', 'hidden');179 jQuery('#ajax-loading, #draft-ajax-loading').css('visibility', 'hidden'); 177 180 }, 500); 178 181 } 179 182