Make WordPress Core

Ticket #35401: 35401.patch

File 35401.patch, 758 bytes (added by afercia, 9 years ago)
  • src/wp-admin/js/inline-edit-post.js

     
    284284                                }
    285285                        },
    286286                'html');
     287                // Prevent submitting the form when pressing Enter on a focused field.
    287288                return false;
    288289        },
    289290
  • src/wp-admin/js/inline-edit-tax.js

     
    137137                                }
    138138                        }
    139139                );
     140                // Prevent submitting the form when pressing Enter on a focused field.
     141                return false;
    140142        },
    141143
    142144        revert : function() {