diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 6992009..ea72e2a 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -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) diff --git a/framework/assets/yii.js b/framework/assets/yii.js index a2ed943..c9f08f7 100644 --- a/framework/assets/yii.js +++ b/framework/assets/yii.js @@ -177,7 +177,8 @@ yii = (function ($) { pushRedirect: pjaxPushRedirect, replaceRedirect: pjaxReplaceRedirect, pjaxSkipOuterContainers: pjaxSkipOuterContainers, - timeout: pjaxTimeout + timeout: pjaxTimeout, + originalEvent: event } }