mozilla-b2g/gaia — pull request #8843 by evanxd (2013-03-27 08:29:54+00:00)
Title: Bug 855212 - [Contacts] Search: The search function cannot be launched when user triggers it at the first time.

The initSearch function threw error.

Because the searchBox variable was used before it was defined.

We should define the searchBox variable before use it.