Fix ve.init.mw.TargetEvents.js to subscribe to events that actually exist and are emitted

Change-Id: I63ea39d0628d33e5d1ced4650b1a166003e362d3
This commit is contained in:
Inez Korczyński 2014-07-31 16:13:55 -07:00 committed by Catrope
parent a1cf2df677
commit bd716eea55

View file

@ -18,8 +18,8 @@ ve.init.mw.TargetEvents = function ( target ) {
this.timings = { 'saveRetries': 0 };
// Events
this.target.connect( this, {
'saveWorkFlowBegin': 'onSaveWorkflowBegin',
'saveWorlFlowEnd': 'onSaveWorkflowEnd',
'saveWorkflowBegin': 'onSaveWorkflowBegin',
'saveWorkflowEnd': 'onSaveWorkflowEnd',
'saveInitiated': 'onSaveInitated',
'save': 'onSaveComplete',
'saveReview': 'onSaveReview',