mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
Fixes #3216: Fixed the bug that yii.activeForm.destroy() did not remove submit event handlers
This commit is contained in:
@ -18,6 +18,7 @@ Yii Framework 2 Change Log
|
||||
- Bug #3184: Fixed the bug that client validation for string length comparison did not set error message correctly (Sergeygithub)
|
||||
- Bug #3194: Date formatter works only for timestamps in the year range 1970 to 2038 (kartik-v)
|
||||
- Bug #3204: `yii\di\Container` did not handle the `$config` parameter well in case when it does not have a default value (qiangxue)
|
||||
- Bug #3216: Fixed the bug that `yii.activeForm.destroy()` did not remove `submit` event handlers (qiangxue)
|
||||
- Enh #2837: Error page now shows arguments in stack trace method calls (samdark)
|
||||
- Enh #3088: The debug and gii modules will manage their own URL rules now (hiltonjanfield, qiangxue)
|
||||
- Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)
|
||||
|
||||
@ -111,7 +111,7 @@
|
||||
$form.on('mouseup.yiiActiveForm keyup.yiiActiveForm', ':submit', function () {
|
||||
$form.data('yiiActiveForm').submitObject = $(this);
|
||||
});
|
||||
$form.on('submit', methods.submitForm);
|
||||
$form.on('submit.yiiActiveForm', methods.submitForm);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user