Skip to content

Commit a411107

Browse files
authored
[Task]: Add tooltip to relation Inline Search (#970)
* Update manyToOneRelation.js * fix sonar
1 parent 68c8fe9 commit a411107

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

public/js/pimcore/object/tags/manyToOneRelation.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,21 @@ pimcore.object.tags.manyToOneRelation = Class.create(pimcore.object.tags.abstrac
279279
style: "margin-left: 5px",
280280
handler: this.openSearchEditor.bind(this)
281281
});
282+
283+
if (this.fieldConfig.displayMode === 'combo') {
284+
items.push({
285+
xtype: "button",
286+
iconCls: "pimcore_icon_help",
287+
tooltip: t("help"),
288+
handler: function () {
289+
window.open(
290+
"https://dev.mysql.com/doc/refman/8.0/en/fulltext-boolean.html",
291+
"mysql",
292+
"noopener"
293+
);
294+
}.bind(this)
295+
});
296+
}
282297
}
283298

284299
const compositeCfg = {

0 commit comments

Comments
 (0)