Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9474 from leob2g/Bug_858449_Clearing_Contact_Sear…
Browse files Browse the repository at this point in the history
…chlist_When_Backspace_Quickly

Bug_858449:[SMS]Clearing Contact Searchlist When backspace quickly
  • Loading branch information
Francisco Borja Salguero Castellano committed Apr 30, 2013
2 parents f317b4a + bd63d95 commit 46153e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/sms/js/thread_ui.js
Expand Up @@ -1246,6 +1246,9 @@ var ThreadUI = {
}

Contacts.findByString(filterValue, function gotContact(contacts) {
if (!recipient.textContent.trim()) {
return;
}
// There are contacts that match the input.
this.container.innerHTML = '';
if (!contacts || !contacts.length) {
Expand Down

0 comments on commit 46153e2

Please sign in to comment.