[hot] [fix] create new in link control
This commit is contained in:
parent
3e317b235e
commit
89b7bf55c2
1 changed files with 4 additions and 0 deletions
|
|
@ -1149,6 +1149,10 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
select: function(event, ui) {
|
||||
me.autocomplete_open = false;
|
||||
|
||||
if(ui.item.action) {
|
||||
ui.item.action.apply(me);
|
||||
}
|
||||
|
||||
// prevent selection on tab
|
||||
var TABKEY = 9;
|
||||
if(event.keyCode === TABKEY) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue