mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix editing a textarea is not possible because of click handler
This commit is contained in:
parent
36ca3dd024
commit
c52ef308d3
@ -116,7 +116,7 @@ var et2_editableWidget = (function(){ "use strict"; return et2_inputWidget.exten
|
|||||||
|
|
||||||
jQuery('body').on("click.et2_editableWidget", this, function(e) {
|
jQuery('body').on("click.et2_editableWidget", this, function(e) {
|
||||||
// Make sure click comes from body, not a popup
|
// Make sure click comes from body, not a popup
|
||||||
if(jQuery.contains(this, e.target))
|
if(jQuery.contains(this, e.target) && e.target.type != 'textarea')
|
||||||
{
|
{
|
||||||
jQuery(this).off("click.et2_editableWidget");
|
jQuery(this).off("click.et2_editableWidget");
|
||||||
e.data.focusout.call(e.data, this);
|
e.data.focusout.call(e.data, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user