diff --git a/core/misc/vertical-tabs.js b/core/misc/vertical-tabs.js index 82dcd2c62ed91343ef8ceee1e29424e9bfc4f8f6..14d06607bff6f7fe9a6c3ea5a7fe7c6b720bed51 100644 --- a/core/misc/vertical-tabs.js +++ b/core/misc/vertical-tabs.js @@ -92,16 +92,6 @@ Drupal.verticalTab = function (settings) { } }); - // Pressing the Enter key lets you leave the tab again. - this.fieldset.keydown(function(event) { - // Enter key should not trigger inside <textarea> to allow for multi-line entries. - if (event.keyCode == 13 && event.target.nodeName != "TEXTAREA") { - // Set focus on the selected tab button again. - $(".vertical-tab-button.selected a").focus(); - return false; - } - }); - this.fieldset .bind('summaryUpdated', function () { self.updateSummary();