Changeset 8482
- Timestamp:
- 07/29/2008 01:06:06 AM (18 years ago)
- Location:
- branches/crazyhorse/wp-admin
- Files:
-
- 2 edited
-
includes/dashboard.php (modified) (2 diffs)
-
post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/includes/dashboard.php
r8465 r8482 388 388 var act = $('#quickpost-action'); 389 389 var t = $('#quick-press').submit( function() { 390 if ( 'post-quickpress-save-cont' == act.val() ) { 391 return true; 392 } 393 390 394 var head = $('#dashboard_quick_press div.dashboard-widget').children( 'div').hide().end().find('h3 small'); 391 395 head.prepend( '<img src="images/loading.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' ); … … 406 410 407 411 $('#publish').click( function() { act.val( 'post-quickpress-publish' ); } ); 408 $('#save-cont').click( function() { act.val( 'post-quickpress-save-cont' ); } );412 $('#save-cont').click( function() { act.val( 'post-quickpress-save-cont' ); t.attr( 'action', 'post.php' ); } ); 409 413 }; 410 414 jQuery( quickPressLoad ); -
branches/crazyhorse/wp-admin/post.php
r8446 r8482 75 75 } 76 76 77 if ( 0 === strpos( $action, 'post-quickpress' ) ) {77 if ( 'post-quickpress-save-cont' != $action && 0 === strpos( $action, 'post-quickpress' ) ) { 78 78 $_POST['post_ID'] = $post_ID; 79 79 // output the quickpress dashboard widget
Note: See TracChangeset
for help on using the changeset viewer.