Ticket #29117: post.js.diff
File post.js.diff, 575 bytes (added by , 10 years ago) |
---|
-
post.js
663 663 // Custom Fields 664 664 if ( $('#postcustom').length ) { 665 665 $( '#the-list' ).wpList( { addAfter: function() { 666 $('table#list-table').show(); 666 if ( ( $.trim( $('#metakeyinput').val() ) != "" ) && ( $.trim( $('#metavalue').val() ) != "" ) || ( $('#the-list tr').length > 1 ) ) { 667 $("table#list-table").show() 668 } 667 669 }, addBefore: function( s ) { 668 670 s.data += '&post_id=' + $('#post_ID').val(); 669 671 return s;