mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Reload page after user selects multi-tab option of SET dialog
Bug: T129510 Change-Id: I3fcac175f18d8159e6a5c4084668264d4705970c
This commit is contained in:
parent
ada244c6f8
commit
3807a918f9
|
@ -800,6 +800,8 @@
|
|||
|
||||
if ( data && data.action === 'prefer-ve' ) {
|
||||
location.href = veEditUri;
|
||||
} else if ( data && data.action === 'multi-tab' ) {
|
||||
location.reload();
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
|
|
@ -271,6 +271,8 @@ ve.init.mw.DesktopArticleTarget.prototype.loadSuccess = function ( response ) {
|
|||
|
||||
if ( data && data.action === 'prefer-wt' ) {
|
||||
target.switchToWikitextEditor( true, false );
|
||||
} else if ( data && data.action === 'multi-tab' ) {
|
||||
location.reload();
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue