Page MenuHomePhabricator

VisualEditor: [Regression pre-wmf4] “Uncaught TypeError: undefined is not a function” when Citation dialog opens
Closed, ResolvedPublic

Description

screenshot

Environment- beta

1> click on Cite and pick any citation(book/web/news/journal).E.g- select cite -> book. Cite book dialog opens.
2> JS console error “Uncaught TypeError: undefined is not a function”.
3> Click to Add more information and error in console is “Uncaught TypeError: Cannot read property 'on' of undefined”. See screenshot.
4> Clicking on cancel or insert does not close the dialog.

Screenshot attached.


Version: unspecified
Severity: major

Attached:

s.PNG (1×2 px, 147 KB)

Details

Reference
bz71997

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 3:50 AM
bzimport set Reference to bz71997.

Change 166628 had a related patch set uploaded by Catrope:
Followup 1fc13cc: fix JS errors caused by incorrect context binding

https://gerrit.wikimedia.org/r/166628

Change 166628 merged by jenkins-bot:
Followup 1fc13cc: fix JS errors caused by incorrect context binding

https://gerrit.wikimedia.org/r/166628

Verified the fix in production