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:
commit
9bf5b9c0b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue