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

pull/55/merge
Aleksander Machniak 12 years ago
parent 60753b05fa
commit 55a2e5eca1

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Submit Addressbook advanced search form with Enter key (#1488568)
- Improved database schema upgrade procedure, added updatedb.sh script - Improved database schema upgrade procedure, added updatedb.sh script
- Feature to export only selected contacts from addressbook (by Phil Weir) - Feature to export only selected contacts from addressbook (by Phil Weir)
- Force autocommit mode in mysql database driver (#1488902) - Force autocommit mode in mysql database driver (#1488902)

@ -4431,6 +4431,11 @@ function rcube_webmail()
} }
$("input[type='text']:visible").first().focus(); $("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() this.group_create = function()

Loading…
Cancel
Save