diff --git a/etemplate/js/et2_widget_taglist.js b/etemplate/js/et2_widget_taglist.js index 2b1376c0be..e959389476 100644 --- a/etemplate/js/et2_widget_taglist.js +++ b/etemplate/js/et2_widget_taglist.js @@ -343,6 +343,8 @@ var et2_taglist = et2_selectbox.extend( getValue: function() { 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(); } }); diff --git a/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js b/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js index 0d12eb41a2..20a4b91c86 100644 --- a/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js +++ b/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js @@ -871,7 +871,7 @@ style: cfg.style }).width(w); 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.keyup($.proxy(handlers._onKeyUp, this));