Skip to content
Browse files

Submit Addressbook advanced search form with Enter key (#1488568)

  • Loading branch information...
1 parent 60753b0 commit 55a2e5eca183de3c7b32236e6ef54a0c59960cea @alecpl alecpl committed Jan 23, 2013
Showing with 6 additions and 0 deletions.
  1. +1 −0 CHANGELOG
  2. +5 −0 program/js/app.js
View
1 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)
View
5 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($('<input type="submit">').hide())
+ .submit(function() { $('input.mainaction').click(); return false; });
};
this.group_create = function()

0 comments on commit 55a2e5e

Please sign in to comment.
Something went wrong with that request. Please try again.