From 55a2e5eca183de3c7b32236e6ef54a0c59960cea Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 23 Jan 2013 11:50:30 +0100 Subject: Submit Addressbook advanced search form with Enter key (#1488568) --- CHANGELOG | 1 + program/js/app.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 5d9407b30..6317fb507 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Submit Addressbook advanced search form with Enter key (#1488568) - Improved database schema upgrade procedure, added updatedb.sh script - Feature to export only selected contacts from addressbook (by Phil Weir) - Force autocommit mode in mysql database driver (#1488902) diff --git a/program/js/app.js b/program/js/app.js index 6d48222e6..ce17245e1 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4431,6 +4431,11 @@ function rcube_webmail() } $("input[type='text']:visible").first().focus(); + + // Submit search form on Enter + if (this.env.action == 'search') + $(this.gui_objects.editform).append($('').hide()) + .submit(function() { $('input.mainaction').click(); return false; }); }; this.group_create = function() -- cgit v1.2.3