diff --git a/lib/ve b/lib/ve index 08083de071..84ced370eb 160000 --- a/lib/ve +++ b/lib/ve @@ -1 +1 @@ -Subproject commit 08083de071847735f095afacfcb7d17b3c1ec349 +Subproject commit 84ced370eb58b493c08a0a7156347e18a85b3001 diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index ee12f9ac08..4e9392ae0f 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -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 ); } } };