Commit d5e9aad5 authored by drumm's avatar drumm
Browse files

#107611 by Steven. Fix bug triggered by pressing enter while results are being fetched.

parent 6653e499
......@@ -213,6 +213,7 @@ Drupal.jsAC.prototype.found = function (matches) {
}
// Show popup with matches, if any
if (this.popup) {
if (ul.childNodes.length > 0) {
$(this.popup).empty().append(ul).show();
}
......@@ -220,6 +221,7 @@ Drupal.jsAC.prototype.found = function (matches) {
$(this.popup).css({visibility: 'hidden'});
this.hidePopup();
}
}
}
Drupal.jsAC.prototype.setStatus = function (status) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment