mozilla-b2g/gaia — pull request #23804 by yfdyh000 (2014-09-08 13:22:23+00:00)
Title: Bug 1061096 - [Settings] when init download list and empty list, edit button is not disabled.

Although I don't understand the intention of the original code, but now it works.