Set the save timeout to 100s as well

Change-Id: Ic01ffaae2a0c4bbe91bee7705c60f26b7b34d0f9
This commit is contained in:
Catrope 2012-12-10 20:33:34 -08:00
parent 5db88a3140
commit 2e6425a16b

View file

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