mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
Enh #10267: yii.js - added original event passing to pjaxOptions for links with data-method and data-pjax
This commit is contained in:
committed by
SilverFire - Dmitry Naumenko
parent
1bba59edc2
commit
a301d7154a
@@ -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)
|
||||
|
||||
@@ -177,7 +177,8 @@ yii = (function ($) {
|
||||
pushRedirect: pjaxPushRedirect,
|
||||
replaceRedirect: pjaxReplaceRedirect,
|
||||
pjaxSkipOuterContainers: pjaxSkipOuterContainers,
|
||||
timeout: pjaxTimeout
|
||||
timeout: pjaxTimeout,
|
||||
originalEvent: event
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user