[Bug 62934] VisualEditor:Getting Uncaught TypeError: Cannot call method 'teardown' of undefined while trying to save a page on Betalabs

2014-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62934 ryasm...@wikimedia.org changed: What|Removed |Added Assignee|jforrester+veteambztickets@ |rm...@wikimedia.org

[Bug 62934] VisualEditor:Getting Uncaught TypeError: Cannot call method 'teardown' of undefined while trying to save a page on Betalabs

2014-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62934 --- Comment #1 from Trevor Parscal tpars...@wikimedia.org --- This error has to do with code that looks like this: if ( this.surface.mwTocWidget ) { this.mwTocWidget.teardown(); } which needs to be rewritten to look like: if (

[Bug 62934] VisualEditor:Getting Uncaught TypeError: Cannot call method 'teardown' of undefined while trying to save a page on Betalabs

2014-03-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=62934 --- Comment #2 from Trevor Parscal tpars...@wikimedia.org --- Oops... I meant: if ( this.surface.mwTocWidget ) { this.surface.mwTocWidget.teardown(); } -- You are receiving this mail because: You are on the CC list for the bug.