mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Set node property for inputWidget as it's expected to contain input node
This commit is contained in:
parent
f454536165
commit
b84ef08c29
@ -38,6 +38,7 @@ const Et2InputWidgetMixin = (superclass) =>
|
|||||||
{
|
{
|
||||||
protected value : string | number | Object;
|
protected value : string | number | Object;
|
||||||
protected _oldValue : string | number | Object;
|
protected _oldValue : string | number | Object;
|
||||||
|
protected node : HTMLElement;
|
||||||
|
|
||||||
/** WebComponent **/
|
/** WebComponent **/
|
||||||
static get styles()
|
static get styles()
|
||||||
@ -70,7 +71,11 @@ const Et2InputWidgetMixin = (superclass) =>
|
|||||||
super(...args);
|
super(...args);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
connectedCallback()
|
||||||
|
{
|
||||||
|
super.connectedCallback();
|
||||||
|
this.node = this.getInputNode();
|
||||||
|
}
|
||||||
set_value(new_value)
|
set_value(new_value)
|
||||||
{
|
{
|
||||||
this.value = new_value;
|
this.value = new_value;
|
||||||
|
@ -314,7 +314,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
{
|
{
|
||||||
textAreaWidget.tinymce.then(()=>{
|
textAreaWidget.tinymce.then(()=>{
|
||||||
that.compose_resizeHandler();
|
that.compose_resizeHandler();
|
||||||
jQuery(textAreaWidget.editor.iframeElement.contentWindow.document).on('dragenter', function(){
|
if (textAreaWidget.editor) jQuery(textAreaWidget.editor.iframeElement.contentWindow.document).on('dragenter', function(){
|
||||||
// anything to bind on tinymce iframe
|
// anything to bind on tinymce iframe
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user