forked from extern/egroupware
Allow enter to select the highlighted suggestion
This commit is contained in:
parent
ce48b78e54
commit
0fbd48a0db
@ -314,7 +314,7 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
* Handler for keyup, used to start ajax search when we like
|
* Handler for keyup, used to start ajax search when we like
|
||||||
*/
|
*/
|
||||||
_keyup: function(e, taglist, event) {
|
_keyup: function(e, taglist, event) {
|
||||||
if(event.which === jQuery.ui.keyCode.ENTER)
|
if(event.which === jQuery.ui.keyCode.ENTER && taglist.combobox.find('.ms-res-item.ms-res-item-active').length==0)
|
||||||
{
|
{
|
||||||
this._query_server = true;
|
this._query_server = true;
|
||||||
this.taglist.collapse();
|
this.taglist.collapse();
|
||||||
|
Loading…
Reference in New Issue
Block a user