Page MenuHomePhabricator

VisualEditor: JS error after saving document
Closed, ResolvedPublic

Description

Open a document in the editor, change something, then save it. The following JS error appears in my console after saving:

TypeError: $editorDocument.children(".ve-ce-branchNode:last").offset() is null
[Break On This Error]

$editorDocument.children( '.ve-ce-branchNode:last' ).offset().top

ve.Surface.js (line 184)

Observed in Firefox 14.0.1.


Version: unspecified
Severity: normal

Details

Reference
bz39255

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:10 AM
bzimport set Reference to bz39255.

No longer occurs in either Firefox or Chrome. Given how much we've re-written this code, not surprising, really. :-) Marking as fixed.