Fix issue contact plus button sometimes gets stuck

This commit is contained in:
Hadi Nategh 2021-12-10 10:51:38 +01:00
parent 5b7706c77d
commit 1c65b55f63
4 changed files with 20 additions and 0 deletions

View File

@ -271,6 +271,11 @@ var et2_description = /** @class */ (function (_super) {
})
.tooltip("open");
}, { widget: this, span: this.span }));
this.span.on('mouseout', function () {
if (jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
};
return et2_description;
}(et2_core_baseWidget_1.et2_baseWidget)),

View File

@ -421,6 +421,11 @@ export class et2_description extends expose(class et2_description extends et2_ba
})
.tooltip("open");
}, {widget: this, span: this.span}));
this.span.on('mouseout', function(){
if(jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
}
}){};
et2_register_widget(et2_description, ["description", "label"]);

View File

@ -394,6 +394,11 @@ var et2_url_ro = /** @class */ (function (_super_1) {
this.widget.egw().jsonq('EGroupware\\Api\\Etemplate\\Widget\\Url::ajax_contact', this.value, this.widget._add_contact_tooltip, this);
}
}, { widget: this, span: this.span, value: this.value }));
this.span.on('mouseout', function () {
if (jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
}
break;
}

View File

@ -450,6 +450,11 @@ export class et2_url_ro extends et2_valueWidget
);
}
},{widget: this, span: this.span, value: this.value}));
this.span.on('mouseout', function(){
if(jQuery(this).tooltip('instance')) {
jQuery(this).tooltip('close');
}
});
}
break;
}