From 85a0e326b90dc389b554929fdf543996793e3314 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 10 Aug 2011 15:47:50 -0400 Subject: [PATCH] - Patch #1232722 by peterpoe: drupal_process_states() - doc listing states is not quite right. --- includes/common.inc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 481edae61bd..f1e8cb68296 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4421,6 +4421,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 @@ -4429,26 +4431,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 *