GH-66816: Process before enabling search
This commit is contained in:
parent
7ee515579e
commit
eb2bb99021
@ -2739,14 +2739,17 @@ function defocusSearchBar() {
|
||||
});
|
||||
}
|
||||
|
||||
window.addSearchOptions = function(crates) {
|
||||
function enableSearchInput() {
|
||||
if (search_input) {
|
||||
search_input.removeAttribute('disabled');
|
||||
}
|
||||
}
|
||||
|
||||
window.addSearchOptions = function(crates) {
|
||||
var elem = document.getElementById("crate-search");
|
||||
|
||||
if (!elem) {
|
||||
enableSearchInput();
|
||||
return;
|
||||
}
|
||||
var crates_text = [];
|
||||
@ -2784,7 +2787,7 @@ function defocusSearchBar() {
|
||||
elem.value = savedCrate;
|
||||
}
|
||||
}
|
||||
|
||||
enableSearchInput();
|
||||
};
|
||||
|
||||
function buildHelperPopup() {
|
||||
|
Loading…
Reference in New Issue
Block a user