Changeset 8275
- Timestamp:
- 07/07/08 21:44:55 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/crazyhorse/wp-admin/includes/dashboard.php
r8274 r8275 380 380 var act = $('#quickpost-action'); 381 381 var t = $('#quick-press').submit( function() { 382 var head = $('#dashboard_quick_press div.dashboard-widget').children( 'div').hide().end(). children('h3');383 head. html( '<span>' + head.html() + '</span><img src="images/loading.gif" style="margin-top: 6px; float: right" /><br class="clear" />' );382 var head = $('#dashboard_quick_press div.dashboard-widget').children( 'div').hide().end().find('h3 small'); 383 head.prepend( '<img src="images/loading.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' ); 384 384 385 385 if ( 'post' == act.val() ) { act.val( 'post-quickpress-publish' ); } … … 390 390 } 391 391 392 $('#dashboard_quick_press').load( t.attr( 'action' ) + ' #dashboard_quick_press div.dashboard-widget', t.serializeArray(), function() {392 $('#dashboard_quick_press').load( t.attr( 'action' ) + ' #dashboard_quick_press > *', t.serializeArray(), function() { 393 393 if ( 'undefined' != typeof wpTeenyMCEInit && $.isFunction( wpTeenyMCEInit ) ) { wpTeenyMCEInit(); } 394 394 quickPressLoad($);
