mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
Merge "Include edit status in the ve.deactivationComplete event"
This commit is contained in:
commit
b9aa9d2f27
2
lib/ve
2
lib/ve
|
@ -1 +1 @@
|
|||
Subproject commit 08083de071847735f095afacfcb7d17b3c1ec349
|
||||
Subproject commit 84ced370eb58b493c08a0a7156347e18a85b3001
|
|
@ -248,7 +248,8 @@ ve.init.mw.ViewPageTarget.prototype.deactivate = function ( override ) {
|
|||
this.initialEditSummary = '';
|
||||
|
||||
this.deactivating = false;
|
||||
mw.hook( 've.deactivationComplete' ).fire();
|
||||
|
||||
mw.hook( 've.deactivationComplete' ).fire( this.edited );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue