projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed Chrome issue with blocked cursor focus when enter is received on empty selectors.
[fa-stable.git]
/
js
/
inserts.js
diff --git
a/js/inserts.js
b/js/inserts.js
index 5110343e6b37b4ca8d7ce32ef4433f8eac3ba891..c9736f6955df192c1b2f281c074dabdfb2cabe4b 100644
(file)
--- a/
js/inserts.js
+++ b/
js/inserts.js
@@
-156,9
+156,12
@@
function _set_combo_select(e) {
box.value='';
setFocus(box);
return false;
+ } else {
+ if (key == 13 && !e.length) // prevent chrome issue (blocked cursor after CR on empty selector)
+ return false;
}
}
-}
+}
var _w;