mozilla-b2g/gaia — pull request #18429 by KevinGrandon (2014-04-17 17:18:44+00:00)
Title: Bug 997876 - [Rocketbar] Input text should reset after entering homescreen

https://bugzilla.mozilla.org/show_bug.cgi?id=997876

handleHome always calls enterHome, so this patch moves the clear call into enterHome instead. It is possible to enter the homescreen from an inactive rocketbar without pressing the home button - so we need to perform the clear in enterHome instead.