mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Fixes #3216: Fixed the bug that yii.activeForm.destroy() did not remove submit event handlers
This commit is contained in:
@ -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