Browse Source

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

tags/2.0.7
servocoder 9 years ago committed by SilverFire - Dmitry Naumenko
parent
commit
a301d7154a
  1. 1
      framework/CHANGELOG.md
  2. 3
      framework/assets/yii.js

1
framework/CHANGELOG.md

@ -71,6 +71,7 @@ Yii Framework 2 Change Log
- Enh #10170: `Yii::powered()` now uses `Yii::t()` (SamMousa) - 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 #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 #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) - 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 #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) - Chg #9411: `DetailView` now automatically sets container tag ID in case it's not specified (samdark)

3
framework/assets/yii.js

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

Loading…
Cancel
Save