mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 20:39:13 +02:00
Fix editing a textarea is not possible because of click handler
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user