mozilla-b2g/gaia — pull request #8012 by rwldrn (2013-02-07 20:00:39+00:00)
Title: Bug 831457 - [Browser] JS prompt does not focus on the field

Invoke elements.promptInput.focus(); to set focus and therefore a cursor on the prompt's input field.

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

Signed-off-by: Rick Waldron