Permalink
Browse files

Merge pull request #2138 from B-Scan/small-typo-fix-cactiveform

CJavaScriptExpressoin changed to CJavaScriptExpression in comments
  • Loading branch information...
2 parents 329cf8c + aa52734 commit 2370a9ef0652fd293d1b1edb31722ca1771f0d57 @samdark samdark committed Feb 21, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 framework/web/widgets/CActiveForm.php
@@ -214,7 +214,7 @@ class CActiveForm extends CWidget
* the jquery representation of the form object. If the return value of this function is NOT true, the validation
* will be cancelled.
*
- * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpressoin} to prevent it
+ * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpression} to prevent it
* from being encoded as a string. This option has been available since version 1.1.3.</li>
* <li>afterValidate: function, the function that will be invoked after performing ajax-based validation
* triggered by form submission action (available only when validateOnSubmit is set true).
@@ -223,15 +223,15 @@ class CActiveForm extends CWidget
* is a boolean value indicating whether there is any validation error. If the return value of this function is NOT true,
* the normal form submission will be cancelled.
*
- * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpressoin} to prevent it
+ * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpression} to prevent it
* from being encoded as a string. This option has been available since version 1.1.3.</li>
* <li>beforeValidateAttribute: function, the function that will be invoked before performing ajax-based validation
* triggered by a single attribute input change. The expected function signature should be
* <code>beforeValidateAttribute(form, attribute) {...}</code>, where 'form' is the jquery representation of the form object
* and 'attribute' refers to the js options for the triggering attribute (see {@link error}).
* If the return value of this function is NOT true, the validation will be cancelled.
*
- * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpressoin} to prevent it
+ * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpression} to prevent it
* from being encoded as a string. This option has been available since version 1.1.3.</li>
* <li>afterValidateAttribute: function, the function that will be invoked after performing ajax-based validation
* triggered by a single attribute input change. The expected function signature should be
@@ -240,7 +240,7 @@ class CActiveForm extends CWidget
* 'data' is the JSON response from the server-side validation; 'hasError' is a boolean value indicating whether
* there is any validation error.
*
- * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpressoin} to prevent it
+ * Note that because this option refers to a js function, you should wrap the value with {@link CJavaScriptExpression} to prevent it
* from being encoded as a string. This option has been available since version 1.1.3.</li>
* </ul>
*

0 comments on commit 2370a9e

Please sign in to comment.