summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-08-10 15:47:30 -0400
committerDries Buytaert <dries@buytaert.net>2011-08-10 15:47:30 -0400
commite762e63fed217ae620b09315a88ac425a71e5f45 (patch)
treeec3913c724ff7a19fe7908f0d96ad8ef41582be6
parentd08378534dd0fadfa33e85d4b0a01aa53e128e3d (diff)
downloadbrdo-e762e63fed217ae620b09315a88ac425a71e5f45.tar.gz
brdo-e762e63fed217ae620b09315a88ac425a71e5f45.tar.bz2
- Patch #1232722 by peterpoe: drupal_process_states() - doc listing states is not quite right.
-rw-r--r--includes/common.inc18
1 files changed, 8 insertions, 10 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 8849ef83c..67abdef48 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -4420,6 +4420,8 @@ function drupal_process_attached($elements, $group = JS_DEFAULT, $dependency_che
* The following states may be applied to an element:
* - enabled
* - disabled
+ * - required
+ * - optional
* - visible
* - invisible
* - checked
@@ -4428,26 +4430,22 @@ function drupal_process_attached($elements, $group = JS_DEFAULT, $dependency_che
* - collapsed
*
* The following states may be used in remote conditions:
- * - enabled
- * - disabled
- * - visible
- * - invisible
+ * - empty
+ * - filled
* - checked
* - unchecked
+ * - expanded
+ * - collapsed
* - value
*
- * The following states exist for both states and remote conditions, but are not
- * fully implemented and may not change anything on the element:
- * - required
- * - optional
+ * The following states exist for both elements and remote conditions, but are
+ * not fully implemented and may not change anything on the element:
* - relevant
* - irrelevant
* - valid
* - invalid
* - touched
* - untouched
- * - filled
- * - empty
* - readwrite
* - readonly
*