mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
adding search widget back to select2
due to restrictions of the update of select2, I'm opting to include the search bar in the select2 dropdown for now
This commit is contained in:
parent
a44c6c92d4
commit
89b8f832b9
@ -697,15 +697,13 @@ angular.module('Utilities', ['RestServices', 'Utilities', 'sanitizeFilter'])
|
||||
"select2/dropdown",
|
||||
"select2/dropdown/attachContainer",
|
||||
"select2/dropdown/search",
|
||||
], 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);
|
||||
};
|
||||
], function (Utils, DropdownAdapter, AttachContainer, DropdownSearch) {
|
||||
|
||||
var CustomAdapter = Utils.Decorate(
|
||||
DropdownAdapter,
|
||||
Utils.Decorate(
|
||||
DropdownAdapter,
|
||||
DropdownSearch
|
||||
),
|
||||
AttachContainer
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user