mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Set the save timeout to 100s as well
Change-Id: Ic01ffaae2a0c4bbe91bee7705c60f26b7b34d0f9
This commit is contained in:
parent
5db88a3140
commit
2e6425a16b
|
@ -352,8 +352,8 @@ ve.init.mw.Target.prototype.save = function ( dom, options ) {
|
|||
},
|
||||
'dataType': 'json',
|
||||
'type': 'POST',
|
||||
// Wait up to 10 seconds before giving up
|
||||
'timeout': 10000,
|
||||
// Wait up to 100 seconds before giving up
|
||||
'timeout': 100000,
|
||||
'success': ve.bind( ve.init.mw.Target.onSave, this ),
|
||||
'error': ve.bind( ve.init.mw.Target.onSaveError, this )
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue