mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
DesktopArticleTarget.init: Set veEditSourceUri in SET mode too
Bug: T192974 Change-Id: I1a2485e6f6ba3cb21d669e5f675ce50e4ba81d8f
This commit is contained in:
parent
687cdc84e8
commit
b1f40f4f9f
|
@ -1057,7 +1057,7 @@
|
|||
// On a non-view page, use viewUri
|
||||
veEditBaseUri = pageCanLoadEditor ? uri : viewUri;
|
||||
if ( init.isSingleEditTab ) {
|
||||
veEditUri = veEditBaseUri.clone().extend( { action: 'edit' } );
|
||||
veEditSourceUri = veEditUri = veEditBaseUri.clone().extend( { action: 'edit' } );
|
||||
delete veEditUri.query.veaction;
|
||||
} else {
|
||||
veEditUri = veEditBaseUri.clone().extend( { veaction: 'edit' } );
|
||||
|
|
Loading…
Reference in a new issue