Enh #10267: yii.js - added original event passing to pjaxOptions for links with data-method and data-pjax

This commit is contained in:
servocoder
2015-11-27 21:08:53 +02:00
committed by SilverFire - Dmitry Naumenko
parent 1bba59edc2
commit a301d7154a
2 changed files with 3 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ Yii Framework 2 Change Log
- Enh #10170: `Yii::powered()` now uses `Yii::t()` (SamMousa)
- Enh #10218: Support for selecting multiple filter values with the same name was added to `yii.gridView.js` (omnilight, silverfire)
- Enh #10264: Generation of HTML tags in Yii's JavaScript now uses jQuery style (silverfire)
- Enh #10267: `yii.js` - added original event passing to `pjaxOptions` for links with `data-method` and `data-pjax` (servocoder, silverfire)
- Enh: Added last resort measure for `FileHelper::removeDirectory()` fail to unlink symlinks under Windows (samdark)
- Chg #9369: `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured (creocoder)
- Chg #9411: `DetailView` now automatically sets container tag ID in case it's not specified (samdark)

View File

@@ -177,7 +177,8 @@ yii = (function ($) {
pushRedirect: pjaxPushRedirect,
replaceRedirect: pjaxReplaceRedirect,
pjaxSkipOuterContainers: pjaxSkipOuterContainers,
timeout: pjaxTimeout
timeout: pjaxTimeout,
originalEvent: event
}
}