diff --git a/CHANGELOG b/CHANGELOG index 8f54a6c9b4..f51330928f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -16,6 +16,7 @@ Version 1.0.8 To be released - New #425: Added defaultParams option to the rules used by CUrlManager (Qiang) - New #436: Added error templates in Russian (idlesign) - New #467: Improved the algorithm for determining script URL by CHttpRequest (Qiang) +- New #492: Enhanced form submit script so that it respects to existing submit event handlers (Qiang) - New #493: Added call stack information to log when a PHP error occurs (Qiang) - New: CDbCommand::bindParam() and bindValue() now return the command object so that they can be used in a chainable fashion (Qiang) - New: Added thead and tbody to the code generated by crud command (Qiang) diff --git a/framework/web/js/source/jquery.yii.js b/framework/web/js/source/jquery.yii.js index fd0df1e793..467f5b67c1 100644 --- a/framework/web/js/source/jquery.yii.js +++ b/framework/web/js/source/jquery.yii.js @@ -34,7 +34,7 @@ $.yii = { inputs.push(input); }); - f.submit(); + f.trigger('submit'); for (input in inputs) { f.removeChild(inputs[input]);