andreasgal/gaia — pull request #833 by davidflanagan (2012-03-18 08:16:41+00:00)
Title: Add appwillclose and appclose events back in since I broke the keyboard ...

...by taking them out

The old window_manager.js sent appwillclose and appclose events that they keyboard listened for. I took them out and the keyboard still seemed to work, so I left them out.

But I hadn't tested enough, and the keyboard sometimes doesn't close properly without them. So this is an emergency patch to get them back in and unbreak the keyboard.

Followup discussion in https://github.com/andreasgal/gaia/issues/832