Last modified: 2012-12-06 16:40:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41255, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39255 - VisualEditor: JS error after saving document
VisualEditor: JS error after saving document
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2012-12-10
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-10 22:25 UTC by Roan Kattouw
Modified: 2012-12-06 16:40 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2012-08-10 22:25:21 UTC
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.
Comment 1 James Forrester 2012-12-06 16:40:33 UTC
No longer occurs in either Firefox or Chrome. Given how much we've re-written this code, not surprising, really. :-) Marking as fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links