mediawiki-extensions-Visual.../modules/ve/init/mw
Timo Tijhof c1383b8012 ve.init.mw.ViewPageTarget: Account for serialize error
This is showing a separate need for refactoring. We call
"this.serialize( ..., callback )" but if it failed callback
is never called and an event is emitter for the error.

That makes it rather disconnected from each other.

In this case we're lucky that all calls to serialize are similar
in nature and need the same kind of error callback but other
wise this would be pretty messed up. It obviously needs to be
untangled and get rid of this akward eventemitter dance.

This doesn't fix bug 47581, but it does fix the "Infinite loader
with no error" problem as a result of it by handling the error
in a more intuitive way.

Bug: 47581
Change-Id: Icdf64a792c13a326f494e051be47f2946928d142
2013-04-24 02:06:12 +02:00
..
styles Remove 1px left margin from toolbar in Vector 2013-03-15 18:14:18 +00:00
targets ve.init.mw.ViewPageTarget: Account for serialize error 2013-04-24 02:06:12 +02:00
ve.init.mw.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.init.mw.Platform.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.init.mw.Target.js Add data model support for MediaWiki references 2013-04-23 10:17:42 +01:00