diff --git a/frappe/public/js/frappe/form/footer/assign_to.js b/frappe/public/js/frappe/form/footer/assign_to.js index 8d95a6cb8e..cbec0b71d1 100644 --- a/frappe/public/js/frappe/form/footer/assign_to.js +++ b/frappe/public/js/frappe/form/footer/assign_to.js @@ -155,7 +155,7 @@ frappe.ui.form.AssignToDialog = Class.extend({ primary_action_label: __("Add") })); - dialog.fields_dict.assign_to.get_query = "frappe.core.doctype.user.user.user_query"; + me.fields_dict.assign_to.get_query = "frappe.core.doctype.user.user.user_query"; var myself = me.get_input("myself").on("click", function() { me.toggle_myself(this);