mozilla-b2g/gaia — pull request #7314 by evyatron (2013-01-07 10:59:28+00:00)
Title: [Bug 827251] Fix Home button behavior when offline [r=crdlc]

Previously checked if apps are displayed. This test was wrong, since if you searched for something while offline- you had no apps.

Instead we now check if there's anything in the searchbar. if there is- we go to evme home, else to gaia home.