mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 17:57:38 +00:00
Monotone-Parent: f1b87d4db17a8caa13d51a72ad2dfbc796ac7d8f
Monotone-Revision: f584f3f14a5068b2832a02797f1f2468d9232033 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-05T21:05:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -918,7 +918,12 @@ function onSearchKeyDown(event) {
|
||||
if (this.timer)
|
||||
clearTimeout(this.timer);
|
||||
|
||||
this.timer = setTimeout("onSearchFormSubmit()", 1000);
|
||||
if (event.keyCode == 13) {
|
||||
onSearchFormSubmit();
|
||||
event.preventDefault();
|
||||
}
|
||||
else
|
||||
this.timer = setTimeout("onSearchFormSubmit()", 1000);
|
||||
}
|
||||
|
||||
function onSearchFormSubmit(event) {
|
||||
|
||||
Reference in New Issue
Block a user