Merge pull request #31305 from GuruWithin/fix-awesomplete-listitem-position

fix: allow Dynamic Link fieldtype in grid row click handler
This commit is contained in:
Ejaaz Khan 2025-02-19 16:36:06 +05:30 committed by GitHub
commit 9bf5b9c0b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1005,7 +1005,7 @@ export default class GridRow {
.data("df", df)
.appendTo(this.row)
.on("click", function (event) {
if (df.fieldtype === "Link") {
if (df.fieldtype === "Link" || df.fieldtype === "Dynamic Link") {
frappe.utils.sleep(500).then(() => {
let element_position = event.target.getBoundingClientRect();
$(this)