mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 18:21:50 +00:00
Merge "Remove client-side timeout when saving pages (again)"
This commit is contained in:
commit
95c124d821
|
@ -291,7 +291,7 @@ CommentController.prototype.save = function ( comment, pageName ) {
|
|||
// No timeout. Huge talk pages can take a long time to save, and falsely reporting an error
|
||||
// could result in duplicate messages if the user retries. (T249071)
|
||||
var defaults = OO.copy( controller.getApi().defaults );
|
||||
defaults.timeout = 0;
|
||||
defaults.ajax.timeout = 0;
|
||||
var noTimeoutApi = new mw.Api( defaults );
|
||||
|
||||
return mw.libs.ve.targetSaver.postContent(
|
||||
|
|
Loading…
Reference in a new issue