mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow users to select a data type with the keyboard only when creating a column in the subnode grid. Sanitise the list of fields shown.
This commit is contained in:
committed by
Dave Page
parent
fdcb9d2a57
commit
573abbe6ef
@@ -407,11 +407,13 @@
|
||||
if (!this.$el.hasClass('editor'))
|
||||
this.$el.addClass('editor');
|
||||
this.$select.select2('focus');
|
||||
this.$select.select2('open');
|
||||
this.$select.on('blur', this.exitEditMode);
|
||||
},
|
||||
|
||||
exitEditMode: function() {
|
||||
this.$select.off('blur', this.exitEditMode);
|
||||
this.$select.select2('close');
|
||||
this.$el.removeClass('editor');
|
||||
},
|
||||
|
||||
@@ -539,7 +541,7 @@
|
||||
}
|
||||
this.$el.empty();
|
||||
Backgrid.SelectCell.prototype.remove.apply(this, arguments);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user