Last modified: 2014-06-06 19:06:55 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 T68276, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66276 - Javascript error when launching desktop VisualEditor (target.createSurface is not a function)
Javascript error when launching desktop VisualEditor (target.createSurface is...
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-06 19:05 UTC by Ryan Kaldari
Modified: 2014-06-06 19:06 UTC (History)
2 users (show)

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


Attachments

Description Ryan Kaldari 2014-06-06 19:05:02 UTC
Whenever I try to launch the desktop VE, I get a JS error...

In Firefox: 'target.createSurface is not a function'
In Chrome: 'Uncaught TypeError: undefined is not a function'

In both cases it comes from ve.init.mw.Target.js, line 1312:
target.surface = target.createSurface( dmDoc );

The error doesn't happen in mobile VisualEditor.
Comment 1 Ryan Kaldari 2014-06-06 19:06:55 UTC
Nevermind. Had to update the VE submodules.

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


Navigation
Links