Merge "Update wgRevisionId when we change wgCurRevisionId"

This commit is contained in:
jenkins-bot 2014-04-21 19:06:44 +00:00 committed by Gerrit Code Review
commit a1c4df7980

View file

@ -417,7 +417,10 @@ ve.init.mw.ViewPageTarget.prototype.onSave = function ( html, categoriesHtml, ne
this.restoring = false;
if ( newid !== undefined ) {
mw.config.set( 'wgCurRevisionId', newid );
mw.config.set( {
'wgCurRevisionId': newid,
'wgRevisionId': newid
} );
this.revid = newid;
}
this.saveDialog.close();