mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Watchlist API update: Call correct method"
This commit is contained in:
commit
e1b9e6a98e
|
@ -926,7 +926,7 @@ ve.init.mw.DesktopArticleTarget.prototype.saveComplete = function ( data ) {
|
|||
if ( mw.loader.getState( 'mediawiki.page.watch.ajax' ) === 'ready' ) {
|
||||
var watch = require( 'mediawiki.page.watch.ajax' );
|
||||
|
||||
watch.updateWatchLink(
|
||||
watch.updatePageWatchStatus(
|
||||
data.watched,
|
||||
data.watchlistexpiry
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue