|
|
@@ -964,6 +964,11 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({ |
|
|
|
var me = this; |
|
|
|
this.setup_buttons(); |
|
|
|
this.setup_autocomplete(); |
|
|
|
if(this.df.change) { |
|
|
|
this.$input.on("change", function() { |
|
|
|
me.df.change.apply(this); |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
get_options: function() { |
|
|
|
return this.df.options; |
|
|
|