The method should call updateURL anyways. If it's initializing, the
comparison to the original URL will still be false and the system
will apply replaceState on the URL.
Change-Id: Ibfa104ed2aba94a5c17ed8ce3580a089d60e4d97
* without adding an history entry.
*/
mw.rcfilters.Controller.prototype.replaceUrl = function () {
- this.uriProcessor.replaceUpdatedUri();
+ this.uriProcessor.updateURL();
};
/**
return Number( uriQuery.urlversion || 1 );
};
- /**
- * Replace the current URI with an updated one from the model state
- */
- mw.rcfilters.UriProcessor.prototype.replaceUpdatedUri = function () {
- this.constructor.static.replaceState( this.getUpdatedUri() );
- };
-
/**
* Get an updated mw.Uri object based on the model state
*