forked from extern/egroupware
Bring back enter action for taglist-email widget
This commit is contained in:
parent
54852ea6a7
commit
66f1e302d2
@ -481,7 +481,9 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
|
||||
* @returns {Boolean}
|
||||
*/
|
||||
_keyup: function(e, taglist, event) {
|
||||
if(event.which === jQuery.ui.keyCode.ENTER && taglist.combobox.find('.ms-res-item.ms-res-item-active').length==0)
|
||||
if(event.which === jQuery.ui.keyCode.ENTER
|
||||
&& taglist.combobox.find('.ms-res-item.ms-res-item-active').length==0
|
||||
&& this._type !== 'taglist-email')
|
||||
{
|
||||
// Change keycode to abort the validation process
|
||||
// This means enter does not add a tag
|
||||
|
Loading…
Reference in New Issue
Block a user