Added 'xhr' as callback in JqueryEngineHelper::request() so it formats as Javascript.

This commit is contained in:
Cameri 2013-10-17 18:26:39 -04:00
parent 1ae470a284
commit bb33d52cc6

View file

@ -271,7 +271,7 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
$options['success'] = $success;
unset($options['update']);
}
$callbacks = array('success', 'error', 'beforeSend', 'complete');
$callbacks = array('success', 'error', 'beforeSend', 'complete', 'xhr');
if (!empty($options['dataExpression'])) {
$callbacks[] = 'data';
unset($options['dataExpression']);