mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
trigger blur on taglist in getValue() to not loose just typed content (previous fix stoped selection of suggestions by mouse)
This commit is contained in:
parent
a8f284b588
commit
c775582af2
@ -343,6 +343,8 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
getValue: function()
|
getValue: function()
|
||||||
{
|
{
|
||||||
if(this.taglist == null) return null;
|
if(this.taglist == null) return null;
|
||||||
|
// trigger blur on taglist to not loose just typed value
|
||||||
|
jQuery(this.taglist.container).trigger('blur');
|
||||||
return this.taglist.getValue();
|
return this.taglist.getValue();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -871,7 +871,7 @@
|
|||||||
style: cfg.style
|
style: cfg.style
|
||||||
}).width(w);
|
}).width(w);
|
||||||
ms.container.focus($.proxy(handlers._onFocus, this));
|
ms.container.focus($.proxy(handlers._onFocus, this));
|
||||||
ms.container.focusout($.proxy(handlers._onBlur, this));
|
ms.container.blur($.proxy(handlers._onBlur, this));
|
||||||
ms.container.keydown($.proxy(handlers._onKeyDown, this));
|
ms.container.keydown($.proxy(handlers._onKeyDown, this));
|
||||||
ms.container.keyup($.proxy(handlers._onKeyUp, this));
|
ms.container.keyup($.proxy(handlers._onKeyUp, this));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user