DesktopArticleTarget.init: Set veEditSourceUri in SET mode too

Bug: T192974
Change-Id: I1a2485e6f6ba3cb21d669e5f675ce50e4ba81d8f
This commit is contained in:
Bartosz Dziewoński 2020-04-16 21:02:49 +02:00
parent 687cdc84e8
commit b1f40f4f9f

View file

@ -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' } );