fix: click event being triggered multiple times
This commit is contained in:
parent
752b57c042
commit
1ee0f69044
1 changed files with 2 additions and 2 deletions
|
|
@ -441,8 +441,8 @@ frappe.PrintFormatBuilder = Class.extend({
|
|||
});
|
||||
},
|
||||
setup_field_settings: function() {
|
||||
var me = this;
|
||||
this.page.main.on("click", ".field-settings", function() {
|
||||
|
||||
this.page.main.find(".field-settings").on("click", () => {
|
||||
var field = $(this).parent();
|
||||
|
||||
// new dialog
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue