summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-03-11 11:44:20 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2012-03-11 11:44:20 -0700
commit473dc563f570eef27ed1d67c8b55b3e2e2766a00 (patch)
treea128f0b6e811384ad2b2136a0db476aace0acff0 /misc
parenta697ccdb79f5f543b2125c73336fa85a1f7ee4d5 (diff)
downloadbrdo-473dc563f570eef27ed1d67c8b55b3e2e2766a00.tar.gz
brdo-473dc563f570eef27ed1d67c8b55b3e2e2766a00.tar.bz2
Issue #1361218 by Owen Barton, Kevin Morse, Everett Zufelt: Fixed Focus jumps to tab when pressing enter on a form element within tab.
Diffstat (limited to 'misc')
-rw-r--r--misc/vertical-tabs.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/misc/vertical-tabs.js b/misc/vertical-tabs.js
index 82dcd2c62..14d06607b 100644
--- a/misc/vertical-tabs.js
+++ b/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();