mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
removing search bar for select2 drop downs
This commit is contained in:
parent
7b20dfa98f
commit
54dc36c793
@ -694,14 +694,16 @@ angular.module('Utilities', ['RestServices', 'Utilities', 'sanitizeFilter'])
|
||||
"select2/dropdown",
|
||||
"select2/dropdown/attachContainer",
|
||||
"select2/dropdown/search",
|
||||
], function (Utils, DropdownAdapter, AttachContainer, DropdownSearch) {
|
||||
], function (Utils, DropdownAdapter, AttachContainer) {
|
||||
|
||||
AttachContainer.prototype.bind = function(decorated, container, $container) {
|
||||
// Just pass the call through to the decorated class
|
||||
decorated.call(this, container, $container);
|
||||
};
|
||||
|
||||
var CustomAdapter = Utils.Decorate(
|
||||
Utils.Decorate(
|
||||
DropdownAdapter,
|
||||
DropdownSearch
|
||||
),
|
||||
AttachContainer
|
||||
AttachContainer
|
||||
);
|
||||
|
||||
$(element).select2({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user