Permalink
Browse files

Revert JS from [21921] as it breaks saving when no post date fields a…

…re present. see #17180.

git-svn-id: http://core.svn.wordpress.org/trunk@21947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 8b9ab93 commit ffaa2d0330369e177fbf406cbebf7c22a874fc7e @nacin nacin committed Sep 21, 2012
Showing with 0 additions and 10 deletions.
  1. +0 −10 wp-admin/js/post.js
View
10 wp-admin/js/post.js
@@ -528,16 +528,6 @@ jQuery(document).ready( function($) {
return false;
});
- $('#post').submit(function(e){
- if ( !updateText() ) {
- e.preventDefault();
- $('#timestampdiv').show();
- $('#publishing-action .ajax-loading').css('visibility', 'hidden');
- $('#publish').prop('disabled', false).removeClass('button-primary-disabled');
- return false;
- }
- });
-
$('#post-status-select').siblings('a.edit-post-status').click(function() {
if ($('#post-status-select').is(":hidden")) {
$('#post-status-select').slideDown('fast');

0 comments on commit ffaa2d0

Please sign in to comment.