In mobile VE, Clicking on "Stay on Page" button makes VisualEditor unresponsive on the second attempt to edit the article
Open, NormalPublic

Description

Environmenr: en.wiki

Steps to reproduce:

1.Open a page with mobile VE with Firefox browser
2.Make an Edit
3.Click on Save button
4.Click on Save button on the second dialog
5.When the dialog with two options "Stay on Page" and "Leave page" appears, click on "Stay on Page"

Observed Result:
VisualEditor closes and following error appears in the console
TypeError: ve.init.target is null

and now if you try to edit the page again, clicking on Edit pencil does not open the VisualEditor.
However, the edit seems to be getting saved on the page

Ryasmeen created this task.Aug 18 2015, 7:37 PM
Ryasmeen updated the task description. (Show Details)
Ryasmeen raised the priority of this task from to High.
Ryasmeen added a subscriber: Ryasmeen.
Restricted Application added a project: VisualEditor. · View Herald TranscriptAug 18 2015, 7:37 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdforrester-WMF lowered the priority of this task from High to Normal.Aug 18 2015, 10:44 PM
Jdforrester-WMF set Security to None.